summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-17 09:41:00 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-17 09:41:00 +0100
commit2a1d97263f639744b1caefe79ab60e4907e8ac41 (patch)
treede928841e3574019c8c7fe9a06ea96577fe202c9 /runtime
parent8aec830cf5531390b444ab0744d629b5e89e7440 (diff)
parentd8b3669e6d790c916afc0fa228e3cd7ac8d40063 (diff)
downloadrsyslog-2a1d97263f639744b1caefe79ab60e4907e8ac41.tar.gz
rsyslog-2a1d97263f639744b1caefe79ab60e4907e8ac41.tar.xz
rsyslog-2a1d97263f639744b1caefe79ab60e4907e8ac41.zip
Merge branch 'v4-stable' into v4-beta
Diffstat (limited to 'runtime')
-rw-r--r--runtime/net.c3
-rw-r--r--runtime/net.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/runtime/net.c b/runtime/net.c
index 5cafe522..e91c8a7f 100644
--- a/runtime/net.c
+++ b/runtime/net.c
@@ -1568,6 +1568,9 @@ CODESTARTobjQueryInterface(net)
pIf->DestructPermittedPeers = DestructPermittedPeers;
pIf->PermittedPeerWildcardMatch = PermittedPeerWildcardMatch;
pIf->CmpHost = CmpHost;
+ /* data members */
+ pIf->pACLAddHostnameOnFail = &ACLAddHostnameOnFail;
+ pIf->pACLDontResolve = &ACLDontResolve;
finalize_it:
ENDobjQueryInterface(net)
diff --git a/runtime/net.h b/runtime/net.h
index a50b6fcb..ec364b1c 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! */