diff options
author | Marian Tudosoiu <marian.tudosoiu@1and1.ro> | 2018-04-19 10:57:25 +0300 |
---|---|---|
committer | Marian Tudosoiu <marian.tudosoiu@1and1.ro> | 2018-04-19 10:57:25 +0300 |
commit | 7272364a23c9f00f17f719c1efee756d960e8984 (patch) | |
tree | 603fb3908c07f90c77e3cbfe28ed6f407bd98c71 /scripts/firewall | |
parent | f6e4c60702f810cc06449782f64c7e5a7e20abb2 (diff) | |
download | vyatta-cfg-firewall-7272364a23c9f00f17f719c1efee756d960e8984.tar.gz vyatta-cfg-firewall-7272364a23c9f00f17f719c1efee756d960e8984.zip |
Task T35 - enable prune-deleted-sets for inet6 family firewall templates
Diffstat (limited to 'scripts/firewall')
-rwxr-xr-x | scripts/firewall/vyatta-ipset.pl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/firewall/vyatta-ipset.pl b/scripts/firewall/vyatta-ipset.pl index e5b2fd1..65e0325 100755 --- a/scripts/firewall/vyatta-ipset.pl +++ b/scripts/firewall/vyatta-ipset.pl @@ -352,7 +352,6 @@ sub prune_deleted_sets { my $type = $group->get_type(); my $family = $group->get_family(); ($family eq 'inet') ? $cfg->setLevel("firewall group $type-group") : $cfg->setLevel("firewall group ipv6-$type-group"); - $cfg->setLevel("firewall group $type-group"); next if ($cfg->isEffective($set)); # don't prune if still in config my $rc; $rc = ipset_delete($set); |