From 2ac1fadaf8a2915c1c0ac66c98edc2f36f8df4ed Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki Date: Tue, 14 Nov 2006 07:50:54 +0000 Subject: 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 Signed-off-by: Patrick McHardy --- ip6tables.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ip6tables.c') diff --git a/ip6tables.c b/ip6tables.c index 8bb7661b..9b1370a4 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -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'} }; -- cgit v1.2.3