From 94af628fbd7eaed384e0b9150638019fb6efd5e3 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 26 Dec 2007 17:21:02 +0000 Subject: removed active INET code from syslogd.c - still some auxiliary things remain --- plugins/imtcp/imtcp.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'plugins/imtcp/imtcp.c') 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 -- cgit v1.2.3