[netfilter-cvslog] r3814 - trunk/iptables

laforge at netfilter.org laforge at netfilter.org
Fri Apr 1 08:38:26 CEST 2005


Author: laforge at netfilter.org
Date: 2005-04-01 08:38:25 +0200 (Fri, 01 Apr 2005)
New Revision: 3814

Modified:
   trunk/iptables/ip6tables.c
   trunk/iptables/iptables.c
Log:
the optflags array contains a '3' for the OPT_LINENUMBERS entry while everywhere else '0' is used (Jonas Berlin)


Modified: trunk/iptables/ip6tables.c
===================================================================
--- trunk/iptables/ip6tables.c	2005-04-01 06:31:31 UTC (rev 3813)
+++ trunk/iptables/ip6tables.c	2005-04-01 06:38:25 UTC (rev 3814)
@@ -103,7 +103,7 @@
 #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' },

Modified: trunk/iptables/iptables.c
===================================================================
--- trunk/iptables/iptables.c	2005-04-01 06:31:31 UTC (rev 3813)
+++ trunk/iptables/iptables.c	2005-04-01 06:38:25 UTC (rev 3814)
@@ -101,7 +101,7 @@
 #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' },




More information about the netfilter-cvslog mailing list