From: Jonas Berlin Date: Fri, 1 Apr 2005 06:38:25 +0000 (+0000) Subject: the optflags array contains a '3' for the OPT_LINENUMBERS entry while everywhere... X-Git-Tag: v1.3.2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a06cf0bd2f5e18eb0149945724b0b4299eec5ea;p=thirdparty%2Fiptables.git the optflags array contains a '3' for the OPT_LINENUMBERS entry while everywhere else '0' is used (Jonas Berlin) --- 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' },