summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorJonas Berlin <xkr47@outerspace.dyndns.org>2005-04-01 06:38:25 +0000
committerHarald Welte <laforge@gnumonks.org>2005-04-01 06:38:25 +0000
commit4a06cf0bd2f5e18eb0149945724b0b4299eec5ea (patch)
tree5acc660875893eb2f81ad90447b59658255a2353 /iptables.c
parentb9e814c4f3162a3f4deb93c42481fb1e4ca4f42e (diff)
the optflags array contains a '3' for the OPT_LINENUMBERS entry while everywhere else '0' is used (Jonas Berlin)
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables.c b/iptables.c
index 06d04810..27c5cfac 100644
--- a/iptables.c
+++ b/iptables.c
@@ -101,7 +101,7 @@ static const char cmdflags[] = { 'I', 'D', 'D', 'R', 'A', 'L', 'F', 'Z',
#define OPT_COUNTERS 0x00800U
#define NUMBER_OF_OPT 12
static const char optflags[NUMBER_OF_OPT]
-= { 'n', 's', 'd', 'p', 'j', 'v', 'x', 'i', 'o', 'f', '3', 'c'};
+= { 'n', 's', 'd', 'p', 'j', 'v', 'x', 'i', 'o', 'f', '0', 'c'};
static struct option original_opts[] = {
{ "append", 1, 0, 'A' },