diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-12 14:10:00 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-12 14:10:00 +0100 |
commit | bedc903ae0452934559b4b8aea86a1effb5ba6dc (patch) | |
tree | aacb26b6823984ef4772d7126087edb55d0f6989 | |
parent | 0a5b731f2f18168795bcdefd9b6fa562dce6a0d5 (diff) | |
parent | e4542eb926c9fd757dc8f40f4fe6cb843b8b2650 (diff) | |
download | rsyslog-bedc903ae0452934559b4b8aea86a1effb5ba6dc.tar.gz rsyslog-bedc903ae0452934559b4b8aea86a1effb5ba6dc.tar.xz rsyslog-bedc903ae0452934559b4b8aea86a1effb5ba6dc.zip |
Merge branch 'v3-stable' into v4-stable
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | runtime/net.h | 4 | ||||
-rw-r--r-- | tools/syslogd.c | 4 |
3 files changed, 7 insertions, 4 deletions
@@ -262,6 +262,9 @@ Version 3.22.2 [v3-stable] (rgerhards), 2009-07-?? [if librelp != 1.0.0 is used] - bugfix: sending syslog messages with zip compression did not work - bugfix: potential hang condition on queue shutdown +- bugfix: segfault on startup when -q or -Q option was given + bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=157 + Thanks to Jonas Nogueira for reporting this bug. - clarified use of $ActionsSendStreamDriver[AuthMode/PermittedPeers] in doc set (require TLS drivers) --------------------------------------------------------------------------- diff --git a/runtime/net.h b/runtime/net.h index ec364b1c..a50b6fcb 100644 --- a/runtime/net.h +++ b/runtime/net.h @@ -149,8 +149,8 @@ BEGINinterface(net) /* name must also be changed in ENDinterface macro! */ /* v5 interface additions */ int (*CmpHost)(struct sockaddr_storage *, struct sockaddr_storage*, size_t); /* data members - these should go away over time... TODO */ - int *pACLAddHostnameOnFail; /* add hostname to acl when DNS resolving has failed */ - int *pACLDontResolve; /* add hostname to acl instead of resolving it to IP(s) */ + int pACLAddHostnameOnFail; /* add hostname to acl when DNS resolving has failed */ + int pACLDontResolve; /* add hostname to acl instead of resolving it to IP(s) */ ENDinterface(net) #define netCURR_IF_VERSION 5 /* increment whenever you change the interface structure! */ diff --git a/tools/syslogd.c b/tools/syslogd.c index 5f6b480f..5938cbbe 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -3855,10 +3855,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) { |