]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Add missing 'break' to make parsing of NFQUEUE numbers work (Eric Leblond)
authorEric Leblond <eric@inl.fr>
Fri, 5 Aug 2005 18:35:09 +0000 (18:35 +0000)
committerHarald Welte <laforge@gnumonks.org>
Fri, 5 Aug 2005 18:35:09 +0000 (18:35 +0000)
extensions/libipt_NFQUEUE.c
extensions/libipt_NFQUEUE.man

index 5fc3e76333a9d64d972d33a2ee845111b5f74487..bc4e82f4356273139c158ea1ed0c7e86a678a2a3 100644 (file)
@@ -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;
        }
index 2a8cb45c79352f6966fb18b4db92813890da4856..c4e9d11ac93d13f94b6c335d322a25aad6de893f 100644 (file)
@@ -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