diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 17:21:02 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 17:21:02 +0000 |
commit | 94af628fbd7eaed384e0b9150638019fb6efd5e3 (patch) | |
tree | 1d09b352a0103d08ca4293c15deb6cbf6a6ff87c /plugins | |
parent | 3eff8e5404a3792acbd4ad00f5c4675a940a0eeb (diff) | |
download | rsyslog-94af628fbd7eaed384e0b9150638019fb6efd5e3.tar.gz rsyslog-94af628fbd7eaed384e0b9150638019fb6efd5e3.tar.xz rsyslog-94af628fbd7eaed384e0b9150638019fb6efd5e3.zip |
removed active INET code from syslogd.c - still some auxiliary things
remain
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imtcp/imtcp.c | 16 | ||||
-rw-r--r-- | plugins/imudp/imudp.c | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c index 8639baf3..1efd5316 100644 --- a/plugins/imtcp/imtcp.c +++ b/plugins/imtcp/imtcp.c @@ -198,6 +198,10 @@ BEGINwillRun CODESTARTwillRun /* first apply some config settings */ dbgprintf("imtcp: bEnableTCP %d\n", bEnableTCP); + PrintAllowedSenders(2); /* TCP */ +#ifdef USE_GSSAPI + PrintAllowedSenders(3); /* GSS */ +#endif if (bEnableTCP) { if(sockTCPLstn == NULL) { /* even when doing a re-init, we do not shut down and @@ -226,6 +230,18 @@ ENDwillRun BEGINafterRun CODESTARTafterRun /* do cleanup here */ +dbgprintf("call clearAllowedSenders(0x%lx)\n", (unsigned long) pAllowedSenders_TCP); + if (pAllowedSenders_TCP != NULL) { + clearAllowedSenders (pAllowedSenders_TCP); + pAllowedSenders_TCP = NULL; + } +#ifdef USE_GSSAPI +dbgprintf("call clearAllowedSenders(0x%lx)\n", (unsigned long) pAllowedSenders_GSS); + if (pAllowedSenders_GSS != NULL) { + clearAllowedSenders (pAllowedSenders_GSS); + pAllowedSenders_GSS = NULL; + } +#endif ENDafterRun diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c index 5aebc9b5..f3a2b72a 100644 --- a/plugins/imudp/imudp.c +++ b/plugins/imudp/imudp.c @@ -152,6 +152,7 @@ ENDrunInput /* initialize and return if will run or not */ BEGINwillRun CODESTARTwillRun + PrintAllowedSenders(1); /* UDP */ if((udpLstnSocks = create_udp_socket(NULL, (uchar*)LogPort, 1)) != NULL) dbgprintf("Opened %d syslog UDP port(s).\n", *udpLstnSocks); |