diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/firewall/vyatta-firewall.pl | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl index 0f2e328..4c39156 100755 --- a/scripts/firewall/vyatta-firewall.pl +++ b/scripts/firewall/vyatta-firewall.pl @@ -88,15 +88,7 @@ if ($#updateints == 4) { "Rule set \"$chain\" is not configured\n"; exit 1; } - # chain must have been set up. no need to set up again. - # user may specify a chain in a different tree. try to delete it - # from the "other" trees first. - foreach my $other_tree (keys %table_hash) { - if ($other_tree ne $tree) { - update_ints('delete', $int_name, $direction, $chain, $tree, - $table_hash{$other_tree}, $cmd_hash{$other_tree}); - } - } + # do update action. update_ints(@updateints, $table, $iptables_cmd); } else { |
