X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2FPVE%2FFirewall.pm;h=41f48d638b4569aa379cbfb89c5ffb4bd0c2faa7;hp=3b67186ed35c18ca7ed62c0f2001c5dbb0e649bb;hb=defdf28e9984cf2b19b50ea9f6a263bd5a365e43;hpb=0e8af63ddb8a58ff2cda9d8595478a673f563d06 diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 3b67186..41f48d6 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -4033,8 +4033,8 @@ sub get_ebtables_cmdlist { foreach my $chain (sort keys %$statushash) { my $stat = $statushash->{$chain}; - next if ($stat->{action} eq 'delete'); $changes = 1 if ($stat->{action} !~ 'ignore|exists'); + next if ($stat->{action} eq 'delete'); foreach my $cmd (@{$statushash->{$chain}->{'rules'}}) { if ($chain eq 'FORWARD' && $cmd eq $append_pve_to_forward) {