summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-20 13:23:08 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-20 13:23:08 +0000
commita5ac2e420e6f58f2cad5123ea674b0da5c016aea (patch)
treec5dcd1b00c0c1c1a85b2e9cd596bdd0b6086b9d2 /syslogd.c
parent66099b596385df2de3f536d230edc59ebcf76daf (diff)
downloadrsyslog-a5ac2e420e6f58f2cad5123ea674b0da5c016aea.tar.gz
rsyslog-a5ac2e420e6f58f2cad5123ea674b0da5c016aea.tar.xz
rsyslog-a5ac2e420e6f58f2cad5123ea674b0da5c016aea.zip
implemented $AddUnixListenSocket config directive
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/syslogd.c b/syslogd.c
index 87c6836f..b4d63636 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -6091,7 +6091,7 @@ int main(int argc, char **argv)
/* END core initializations */
- while ((ch = getopt(argc, argv, "46Aa:c:dehi:f:g:l:m:nop:qQr::s:t:u:vwx")) != EOF) {
+ while ((ch = getopt(argc, argv, "46Ac:dehi:f:g:l:m:nqQr::s:t:u:vwx")) != EOF) {
switch((char)ch) {
case '4':
family = PF_INET;
@@ -6102,21 +6102,6 @@ int main(int argc, char **argv)
case 'A':
send_to_all++;
break;
-#if 0
- case 'a':
- if (nfunix < MAXFUNIX)
- if(*optarg == ':') {
- funixParseHost[nfunix] = 1;
- funixn[nfunix++] = optarg+1;
- }
- else {
- funixParseHost[nfunix] = 0;
- funixn[nfunix++] = optarg;
- }
- else
- fprintf(stderr, "rsyslogd: Out of descriptors, ignoring %s\n", optarg);
- break;
-#endif
case 'c': /* compatibility mode */
iCompatibilityMode = atoi(optarg);
break;