diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-04-08 11:23:36 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-04-08 11:23:36 -0700 |
commit | 789bb8a2bbce86b064460ac62fa09c25323d5f44 (patch) | |
tree | 42e2b843af0579bebc21e5bee76f802e7a03e9d6 /scripts | |
parent | 6a29e7f2c5b3a7c08f7f058cf168ff065022f3b0 (diff) | |
download | vyatta-cfg-firewall-789bb8a2bbce86b064460ac62fa09c25323d5f44.tar.gz vyatta-cfg-firewall-789bb8a2bbce86b064460ac62fa09c25323d5f44.zip |
Fix faulty search loop.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/firewall/vyatta-firewall.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl index 7a9259e..6f73c77 100755 --- a/scripts/firewall/vyatta-firewall.pl +++ b/scripts/firewall/vyatta-firewall.pl @@ -129,6 +129,7 @@ sub find_chain_rule { foreach my $line (@lines) { ($num, undef, undef, $chain2) = split /\s+/, $line; last if $chain2 eq $search; + ($num, $chain2) = (undef, undef); } if ($syslog_flag) { |