[syslog-ng]patch for adding tcp wrappers to syslog-ng?

Ed Ravin eravin@panix.com
Mon, 19 Nov 2001 20:29:18 -0500 (EST)


Balazs Scheidler writes:
[re patch to add tcp wrappers to syslog-ng]
> Thanks for your contribution. As there was feature requests for this
> earlier, I added your patch to my CVS tree. (the location where you added it
> is completely sensible)

Forgot to follow up - as I hadn't played with libwrap in a long time,
I discovered a minor error in my patch.  My patch for tcp wrappers should
be patched with this, so that a couple of variables get initialized
properly (I suspect most compilers/OS's will initialize those values
to zero anyway, but it doesn't hurt to be safe).

	-- Ed

--- afinet.c    2001/10/27 04:16:44     1.2
+++ afinet.c    2001/10/29 00:25:50
@@ -30,8 +30,8 @@

 #ifndef WE_DONT_WANT_TCP_WRAPPERS
 #include "tcpd.h"
-int allow_severity;
-int deny_severity;
+int allow_severity= 0;
+int deny_severity= 0;
 #endif