diff options
| author | Daniil Baturin <daniil@baturin.org> | 2018-03-02 05:21:44 +0100 |
|---|---|---|
| committer | Daniil Baturin <daniil@baturin.org> | 2018-03-02 05:21:44 +0100 |
| commit | 4c12861706e5a9d6f500dd00c71ad58e9c7375c1 (patch) | |
| tree | f2569dabee8ead9afc24b22fcab5bb5f3a2084bb /scripts/firewall/vyatta-firewall.pl | |
| parent | bb15829e9b6864f46409faa30d79e66bbcbfc5b4 (diff) | |
| parent | 00f498ef4c6e7548823173f53e427b91957676c2 (diff) | |
| download | vyatta-cfg-firewall-4c12861706e5a9d6f500dd00c71ad58e9c7375c1.tar.gz vyatta-cfg-firewall-4c12861706e5a9d6f500dd00c71ad58e9c7375c1.zip | |
Merge branch 'current' of https://github.com/vyos/vyatta-cfg-firewall into current
Diffstat (limited to 'scripts/firewall/vyatta-firewall.pl')
| -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; - } } } |
