]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fix -E (rename) in iptables/ip6tables
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Tue, 14 Nov 2006 07:50:54 +0000 (07:50 +0000)
committerPatrick McHardy <kaber@trash.net>
Tue, 14 Nov 2006 07:50:54 +0000 (07:50 +0000)
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@ans.pl>
Signed-off-by: Patrick McHardy <kaber@trash.net>
ip6tables.c
iptables.c

index 8bb7661b2e5e44f4df0d73202adb38551c2a9eff..9b1370a455086acb30cc2dcfe0662667d8f0a131 100644 (file)
@@ -170,7 +170,6 @@ static char commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] =
 /*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'}
 };
 
index b627d3a194857e5e4ce11edeb188b434a30bc844..610e96dbfe3ccc89f5ca7c9cc36579b43c04d78e 100644 (file)
@@ -171,7 +171,6 @@ static char commands_v_options[NUMBER_OF_CMD][NUMBER_OF_OPT] =
 /*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'}
 };