summaryrefslogtreecommitdiffstats
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
parentb9e814c4f3162a3f4deb93c42481fb1e4ca4f42e (diff)
the optflags array contains a '3' for the OPT_LINENUMBERS entry while everywhere else '0' is used (Jonas Berlin)
-rw-r--r--ip6tables.c2
-rw-r--r--iptables.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables.c b/ip6tables.c
index de48f774..3e66f4be 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -103,7 +103,7 @@ static const char cmdflags[] = { 'I', 'D', 'D', 'R', 'A', 'L', 'F', 'Z',
#define OPT_COUNTERS 0x00400U
#define NUMBER_OF_OPT 11
static const char optflags[NUMBER_OF_OPT]
-= { 'n', 's', 'd', 'p', 'j', 'v', 'x', 'i', 'o', '3', 'c'};
+= { 'n', 's', 'd', 'p', 'j', 'v', 'x', 'i', 'o', '0', 'c'};
static struct option original_opts[] = {
{ "append", 1, 0, 'A' },
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' },