summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_NFLOG.c
diff options
context:
space:
mode:
author/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-30 13:56:15 +0000
committer/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-30 13:56:15 +0000
commit496dc56db37b1e23cf4368cf61050a4cdcf1885a (patch)
tree68162a4d27d8cedb07e16eead3f747937eedb85d /extensions/libipt_NFLOG.c
parent173fd4a2374c0c2be719ea5c4d7346cc0cac07f0 (diff)
The option struct needs to be terminated, otherwise ip{,6}tables
will access illegal memory in merge_options(). Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_NFLOG.c')
-rw-r--r--extensions/libipt_NFLOG.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libipt_NFLOG.c b/extensions/libipt_NFLOG.c
index b43a8b8..37df5b0 100644
--- a/extensions/libipt_NFLOG.c
+++ b/extensions/libipt_NFLOG.c
@@ -19,6 +19,7 @@ static struct option opts[] = {
{ "nflog-prefix", 1, 0, NFLOG_PREFIX },
{ "nflog-range", 1, 0, NFLOG_RANGE },
{ "nflog-threshold", 1, 0, NFLOG_THRESHOLD },
+ {NULL},
};
static void help(void)