commit | 2b9a577a68c49d4ac3f44dbf0eb6c622de6b5c30 | [log] [tgz] |
---|---|---|
author | Martin Josefsson <gandalf@wlug.westbo.se> | Wed Jan 05 15:21:15 2005 +0000 |
committer | Martin Josefsson <gandalf@wlug.westbo.se> | Wed Jan 05 15:21:15 2005 +0000 |
tree | 92a30862afdca9f0b52edbc277a2a1862a87119b | |
parent | 225f462b814a47394858b5994acdcc4f3c951a66 [diff] [blame] |
Make it compile on current kernels, the future isn't here yet.
diff --git a/extensions/libipt_LOG.c b/extensions/libipt_LOG.c index 0f1cf9e..39d6fb0 100644 --- a/extensions/libipt_LOG.c +++ b/extensions/libipt_LOG.c
@@ -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)