diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-17 10:43:36 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-17 10:43:36 +0100 |
commit | 604d782f09f38734ca84d63cf1f09234c4dd94e3 (patch) | |
tree | d438182067dde67a2ca0f2a619fbe3e93a57fa8e /plugins/imtcp | |
parent | 0957820a1076d7fcf182ba60c12e5946c193545f (diff) | |
download | rsyslog-604d782f09f38734ca84d63cf1f09234c4dd94e3.tar.gz rsyslog-604d782f09f38734ca84d63cf1f09234c4dd94e3.tar.xz rsyslog-604d782f09f38734ca84d63cf1f09234c4dd94e3.zip |
minor: moved all code to new isAllowedSender2() interface
Diffstat (limited to 'plugins/imtcp')
-rw-r--r-- | plugins/imtcp/imtcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c index 176b5b18..2348c974 100644 --- a/plugins/imtcp/imtcp.c +++ b/plugins/imtcp/imtcp.c @@ -97,7 +97,7 @@ static int isPermittedHost(struct sockaddr *addr, char *fromHostFQDN, void __attribute__((unused)) *pUsrSrv, void __attribute__((unused)) *pUsrSess) { - return net.isAllowedSender(UCHAR_CONSTANT("TCP"), addr, fromHostFQDN); + return net.isAllowedSender2(UCHAR_CONSTANT("TCP"), addr, fromHostFQDN, 1); } |