]> git.proxmox.com Git - pve-firewall.git/commitdiff
consider security group chains in iptables_get_chains
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 17 Feb 2014 06:13:27 +0000 (07:13 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 17 Feb 2014 06:13:27 +0000 (07:13 +0100)
PVE/Firewall.pm

index 8a83dcb862b126fc64893c84bcf3964333adfecb..50fd20e9dda5597d1561b32d0ba1eeb95877351d 100644 (file)
@@ -183,6 +183,7 @@ sub iptables_get_chains {
        return 1 if $name =~ m/^proxmoxfw-\S+$/;
        return 1 if $name =~ m/^tap\d+i\d+-(:?IN|OUT)$/;
        return 1 if $name =~ m/^vmbr\d+-(:?IN|OUT)$/;
+       return 1 if $name =~ m/^GROUP-(:?[^\s\-]+)-(:?IN|OUT)$/;
 
        return undef;
     };