summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2005-08-05 18:36:49 +0000
committerHarald Welte <laforge@gnumonks.org>2005-08-05 18:36:49 +0000
commitae87b8a7470dc6aa5521d226e8ed218500dfe633 (patch)
treee7746f50809d2510fdd491a4499550a75252eae1 /extensions
parent6fdefcfe7aaa02e116e44e96262fe986e87977eb (diff)
port Eric Leblond's NFQUEUE missing-break fix to ip6tables
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libip6t_NFQUEUE.c1
-rw-r--r--extensions/libip6t_NFQUEUE.man3
2 files changed, 4 insertions, 0 deletions
diff --git a/extensions/libip6t_NFQUEUE.c b/extensions/libip6t_NFQUEUE.c
index 13e2afcd..e1964afa 100644
--- a/extensions/libip6t_NFQUEUE.c
+++ b/extensions/libip6t_NFQUEUE.c
@@ -59,6 +59,7 @@ parse(int c, char **argv, int invert, unsigned int *flags,
exit_error(PARAMETER_PROBLEM, "NFQUEUE target: "
"Only use --queue-num ONCE!");
parse_num(optarg, tinfo);
+ break;
default:
return 0;
}
diff --git a/extensions/libip6t_NFQUEUE.man b/extensions/libip6t_NFQUEUE.man
index 2a8cb45c..c4e9d11a 100644
--- a/extensions/libip6t_NFQUEUE.man
+++ b/extensions/libip6t_NFQUEUE.man
@@ -2,6 +2,9 @@ This target is an extension of the QUEUE target. As opposed to QUEUE, it allows
you to put a packet into any specific queue, identified by its 16-bit queue
number.
.TP
+.BR "--queue-num " "\fIvalue"
+This specifies the QUEUE number to use. Valud queue numbers are 0 to 65535. The default value is 0.
+.TP
It can only be used with Kernel versions 2.6.14 or later, since it requires
the
.B