]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Make it compile on current kernels, the future isn't here yet.
authorMartin Josefsson <gandalf@wlug.westbo.se>
Wed, 5 Jan 2005 15:21:15 +0000 (15:21 +0000)
committerMartin Josefsson <gandalf@wlug.westbo.se>
Wed, 5 Jan 2005 15:21:15 +0000 (15:21 +0000)
extensions/libipt_LOG.c

index 0f1cf9e97b46f915207e6bbe5cd37eeacf01b148..39d6fb0b95bceae3fffa2488180e157699edac28 100644 (file)
 
 #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)