summaryrefslogtreecommitdiffstats
path: root/runtime/net.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-12 14:07:12 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-12 14:07:12 +0100
commite4542eb926c9fd757dc8f40f4fe6cb843b8b2650 (patch)
treed69dbb0fe554a7b8b2de08ce49491c827480d474 /runtime/net.h
parent8e45fd5c8e7df45532c5d239676cd92107c9e942 (diff)
downloadrsyslog-e4542eb926c9fd757dc8f40f4fe6cb843b8b2650.tar.gz
rsyslog-e4542eb926c9fd757dc8f40f4fe6cb843b8b2650.tar.xz
rsyslog-e4542eb926c9fd757dc8f40f4fe6cb843b8b2650.zip
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.
Diffstat (limited to 'runtime/net.h')
-rw-r--r--runtime/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/net.h b/runtime/net.h
index 092c3116..8e64f7ab 100644
--- a/runtime/net.h
+++ b/runtime/net.h
@@ -147,8 +147,8 @@ BEGINinterface(net) /* name must also be changed in ENDinterface macro! */
rsRetVal (*DestructPermittedPeers)(permittedPeers_t **ppRootPeer);
rsRetVal (*PermittedPeerWildcardMatch)(permittedPeers_t *pPeer, uchar *pszNameToMatch, int *pbIsMatching);
/* 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 4 /* increment whenever you change the interface structure! */