From caabc26123111e111af8e6eaffbef3b80b382d6a Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 7 Aug 2009 18:44:52 -0700 Subject: * Fix Bug 3625 Firewall protocol option should have a selection for TCP and UDP added tcp_udp as a valid protocol value to match both tcp and udp in 1 rule --- scripts/firewall/vyatta-firewall.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl index a14ef19..95c0198 100755 --- a/scripts/firewall/vyatta-firewall.pl +++ b/scripts/firewall/vyatta-firewall.pl @@ -419,7 +419,7 @@ sub update_rules { } foreach (@rule_strs) { if (!defined) { - last; + next; } run_cmd("$iptables_cmd -t $table --insert $name $iptablesrule $_", @@ -461,7 +461,7 @@ sub update_rules { foreach (@rule_strs) { if (!defined) { - last; + next; } run_cmd("$iptables_cmd -t $table --insert $name $iptablesrule $_", 0, 0); -- cgit v1.2.3