[Snort-devel] [PATCH] log.c

Peter Moore peter at ...799...
Sun Nov 4 23:29:01 EST 2001


for BeOS BONE. BeOS doesnt yet support Unix sockets but does support AF_INET.
while this is a bit of a hack, it works fine.

snort-1.8.2->diff -u log.c.orig log.c
--- log.c.orig  Fri Oct 26 12:30:01 2001
+++ log.c       Mon Nov  5 02:12:07 2001
@@ -18,6 +18,10 @@
 */

 #include "log.h"
+/* Unfortunately BeOS BONE doesnt support AF_UNIX yet */
+#ifdef BEOS
+#define AF_UNIX AF_INET
+#endif
 





More information about the Snort-devel mailing list