summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorKrzysztof Piotr Oledzki <ole@ans.pl>2006-11-14 07:50:54 +0000
committerPatrick McHardy <kaber@trash.net>2006-11-14 07:50:54 +0000
commit2ac1fadaf8a2915c1c0ac66c98edc2f36f8df4ed (patch)
treee5f5360aad790167f5f9dea718f7c83dc8a60369 /iptables.c
parent2512229063de9684929d0e80eab42611ceb775fb (diff)
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@ans.pl> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables.c b/iptables.c
index b627d3a1..610e96db 100644
--- a/iptables.c
+++ b/iptables.c
@@ -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'}
};