syslog-ng minor tcp-wrappers bug
23 Oct
2003
23 Oct
'03
11:04 p.m.
test_nscache.c refuses to build on NetBSD 1.5 if --enable-tcp-wrapper is set. The patch below fixes the problem. I don't know if test_nscache actually works since I'm not clear on what it does and I've always lived without it in the past, but at least with the patch applied I don't get error messages (undefined reference allow_severity & deny_severity) when I run "make". diff -u -r1.1 test_nscache.c --- test_nscache.c 2003/10/23 21:50:13 1.1 +++ test_nscache.c 2003/10/23 21:50:16 @@ -2,6 +2,12 @@ #include "nscache.h" #include <stdio.h> +#if ENABLE_TCP_WRAPPER +#include <tcpd.h> +int allow_severity = 0; +int deny_severity = 0; +#endif + int main() { struct in_addr in;
7975
Age (days ago)
7975
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ed Ravin