diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-08-07 18:44:52 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2009-08-07 18:44:52 -0700 |
commit | caabc26123111e111af8e6eaffbef3b80b382d6a (patch) | |
tree | 6fd2fe8b857ed3fddd93b31f1f016658b7b72e31 /scripts/firewall | |
parent | f34e53cb200f48f4fcc2a2d929851c34704ac3cd (diff) | |
download | vyatta-cfg-firewall-caabc26123111e111af8e6eaffbef3b80b382d6a.tar.gz vyatta-cfg-firewall-caabc26123111e111af8e6eaffbef3b80b382d6a.zip |
* 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
Diffstat (limited to 'scripts/firewall')
-rwxr-xr-x | scripts/firewall/vyatta-firewall.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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); |