[netfilter-cvslog] r6698 - trunk/iptables

kaber at netfilter.org kaber at netfilter.org
Tue Nov 14 08:50:54 CET 2006


Author: kaber at netfilter.org
Date: 2006-11-14 08:50:54 +0100 (Tue, 14 Nov 2006)
New Revision: 6698

Modified:
   trunk/iptables/ip6tables.c
   trunk/iptables/iptables.c
Log:
[PATCH] Fix -E (rename) in iptables/ip6tables
 
Remove ununsed CHECK entry in commands_v_options.

It makes -E (rename) working again - generic_opt_check
expects options for RENAME not for CHECK at that table index.

Signed-off-by: Krzysztof Piotr Oledzki <ole at ans.pl>
Signed-off-by: Patrick McHardy <kaber at trash.net>


Modified: trunk/iptables/ip6tables.c
===================================================================
--- trunk/iptables/ip6tables.c	2006-11-14 06:39:24 UTC (rev 6697)
+++ trunk/iptables/ip6tables.c	2006-11-14 07:50:54 UTC (rev 6698)
@@ -170,7 +170,6 @@
 /*NEW_CHAIN*/ {'x','x','x','x','x',' ','x','x','x','x','x'},
 /*DEL_CHAIN*/ {'x','x','x','x','x',' ','x','x','x','x','x'},
 /*SET_POLICY*/{'x','x','x','x','x',' ','x','x','x','x','x'},
-/*CHECK*/     {'x','+','+','+','x',' ','x',' ',' ','x','x'},
 /*RENAME*/    {'x','x','x','x','x',' ','x','x','x','x','x'}
 };
 

Modified: trunk/iptables/iptables.c
===================================================================
--- trunk/iptables/iptables.c	2006-11-14 06:39:24 UTC (rev 6697)
+++ trunk/iptables/iptables.c	2006-11-14 07:50:54 UTC (rev 6698)
@@ -171,7 +171,6 @@
 /*NEW_CHAIN*/ {'x','x','x','x','x',' ','x','x','x','x','x','x'},
 /*DEL_CHAIN*/ {'x','x','x','x','x',' ','x','x','x','x','x','x'},
 /*SET_POLICY*/{'x','x','x','x','x',' ','x','x','x','x','x','x'},
-/*CHECK*/     {'x','+','+','+','x',' ','x',' ',' ',' ','x','x'},
 /*RENAME*/    {'x','x','x','x','x',' ','x','x','x','x','x','x'}
 };
 




More information about the netfilter-cvslog mailing list