diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-12 14:21:53 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-12 14:21:53 +0100 |
commit | f6dfcc7c3d326c54e1d5e301e1a2c032e4131e02 (patch) | |
tree | d61ed310ddd9953893a6ff4ce9e390bf912026e9 /tools | |
parent | e4542eb926c9fd757dc8f40f4fe6cb843b8b2650 (diff) | |
download | rsyslog-f6dfcc7c3d326c54e1d5e301e1a2c032e4131e02.tar.gz rsyslog-f6dfcc7c3d326c54e1d5e301e1a2c032e4131e02.tar.bz2 rsyslog-f6dfcc7c3d326c54e1d5e301e1a2c032e4131e02.zip |
correcting -q/-Q patch - was invalid
This is the correct patch. The previous one solved the segfault, but
disabled the -q/Q options.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index 9dbea061..75d5ff82 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -3422,10 +3422,10 @@ int realMain(int argc, char **argv) fprintf(stderr, "error -p is no longer supported, use module imuxsock instead"); } case 'q': /* add hostname if DNS resolving has failed */ - net.pACLAddHostnameOnFail = 1; + *(net.pACLAddHostnameOnFail) = 1; break; case 'Q': /* dont resolve hostnames in ACL to IPs */ - net.pACLDontResolve = 1; + *(net.pACLDontResolve) = 1; break; case 'r': /* accept remote messages */ if(iCompatibilityMode < 3) { |