[netfilter-cvslog] r3576 - trunk/iptables/extensions

gandalf at netfilter.org gandalf at netfilter.org
Wed Jan 5 16:21:16 CET 2005


Author: gandalf at netfilter.org
Date: 2005-01-05 16:21:15 +0100 (Wed, 05 Jan 2005)
New Revision: 3576

Modified:
   trunk/iptables/extensions/libipt_LOG.c
Log:
Make it compile on current kernels, the future isn't here yet.


Modified: trunk/iptables/extensions/libipt_LOG.c
===================================================================
--- trunk/iptables/extensions/libipt_LOG.c	2005-01-05 05:34:37 UTC (rev 3575)
+++ trunk/iptables/extensions/libipt_LOG.c	2005-01-05 15:21:15 UTC (rev 3576)
@@ -11,6 +11,12 @@
 
 #define LOG_DEFAULT_LEVEL LOG_WARNING
 
+#ifndef IPT_LOG_UID /* Old kernel */
+#define IPT_LOG_UID	0x08	/* Log UID owning local socket */
+#undef  IPT_LOG_MASK
+#define IPT_LOG_MASK	0x0f
+#endif
+
 /* Function which prints out usage message. */
 static void
 help(void)




More information about the netfilter-cvslog mailing list