diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2005-01-05 15:21:15 +0000 |
---|---|---|
committer | Martin Josefsson <gandalf@wlug.westbo.se> | 2005-01-05 15:21:15 +0000 |
commit | 2b9a577a68c49d4ac3f44dbf0eb6c622de6b5c30 (patch) | |
tree | 92a30862afdca9f0b52edbc277a2a1862a87119b /extensions | |
parent | 225f462b814a47394858b5994acdcc4f3c951a66 (diff) |
Make it compile on current kernels, the future isn't here yet.
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libipt_LOG.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/libipt_LOG.c b/extensions/libipt_LOG.c index 0f1cf9e9..39d6fb0b 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) |