[syslog-ng]syslog-ng 1.5.14 bug with TCP wrapper support

Ed Ravin eravin@panix.com
Tue, 5 Feb 2002 19:08:06 -0500 (EST)


Balazs Scheidler writes:
> 
> syslog-ng 1.5.14 was released with the following NEWS entry:
>         * tcp wrapper support

Oops, it won't build with --enable-tcp-wrapper.  Two problems:

1. need to add "LDFLAGS=-lwrap" in the Makefile.
2. two lines from my original patch are missing from afinet.c:

diff -u -r1.1 afinet.c
--- afinet.c    2002/02/05 23:58:30     1.1
+++ afinet.c    2002/02/05 23:58:41
@@ -34,6 +34,8 @@

 #if ENABLE_TCP_WRAPPER
 #include <tcpd.h>
+int allow_severity= 0;
+int deny_severity= 0;
 #endif

 #include "afinet.c.x"