X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2FPVE%2FFirewall.pm;h=a2e6b7934e59fc4b5f57acdf64befa5686a82186;hp=5bc6d8a9b9b13cc4a55da86cd244b10371000723;hb=c85c87f9c059b326c9eab24c5e6a4dc65d1254f7;hpb=283114001c3c7e995ab0378ec925062fe1720344 diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 5bc6d8a..a2e6b79 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -1977,6 +1977,7 @@ sub parse_cluster_fw_rules { if ($line =~ m/^\[group\s+(\S+)\]\s*$/i) { $section = 'groups'; $group = lc($1); + $res->{$section}->{$group} = []; next; } @@ -1988,6 +1989,7 @@ sub parse_cluster_fw_rules { if ($line =~ m/^\[ipset\s+(\S+)\]\s*$/i) { $section = 'ipset'; $group = lc($1); + $res->{$section}->{$group} = []; next; }