diff options
| author | Daniil Baturin <daniil@baturin.org> | 2018-02-23 18:37:42 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-23 18:37:42 +0700 |
| commit | 00f498ef4c6e7548823173f53e427b91957676c2 (patch) | |
| tree | 7c3e1eda8c433b7069903fa9b3a2f7bda168147b /scripts/firewall | |
| parent | c48f11fa1b0d6a7b196f9750ef82625dea1aba58 (diff) | |
| parent | d1164b989295016436f20caa709603ec5d85a4d3 (diff) | |
| download | vyatta-cfg-firewall-00f498ef4c6e7548823173f53e427b91957676c2.tar.gz vyatta-cfg-firewall-00f498ef4c6e7548823173f53e427b91957676c2.zip | |
Merge pull request #6 from mtudosoiu/current
Bug #T171 fix Open Task T171 Unable to Delte Rule
Diffstat (limited to 'scripts/firewall')
| -rwxr-xr-x | scripts/firewall/vyatta-firewall.pl | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl index c2727cc..f770719 100755 --- a/scripts/firewall/vyatta-firewall.pl +++ b/scripts/firewall/vyatta-firewall.pl @@ -553,12 +553,6 @@ sub update_rules { Vyatta::Config::outputError([$tree,$name],"Firewall configuration error: $err_str\n"); exit 1; } - } elsif ("$test_rule_hash{$test_rule}" eq 'deleted') { - if (Vyatta::IpTables::Mgr::chain_referenced($table, $name, $iptables_cmd)) { - # Disallow deleting a chain if it's still referenced - Vyatta::Config::outputError([$tree,$name],"Firewall configuration error: Cannot delete rule set \"$name\" (still in use)\n"); - exit 1; - } } } |
