]> git.proxmox.com Git - pve-firewall.git/commitdiff
pass $ruleset instead of $rule
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Feb 2014 15:01:29 +0000 (16:01 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Feb 2014 15:01:29 +0000 (16:01 +0100)
PVE/Firewall.pm

index be9b847d6e463e4bcc2f35abf025ec6d6163920b..d266bd66fc325088dbe453c6d588be05d1125407 100644 (file)
@@ -450,7 +450,7 @@ sub generate_group_rules {
             # we go the PVEFW-BRIDGE-IN because we need to check also other tap rules 
             # (and group rules can be set on any bridge, so we can't go to VMBRXX-IN)
             $rule->{action} = 'PVEFW-BRIDGE-IN' if $rule->{action} eq 'ACCEPT';
             # we go the PVEFW-BRIDGE-IN because we need to check also other tap rules 
             # (and group rules can be set on any bridge, so we can't go to VMBRXX-IN)
             $rule->{action} = 'PVEFW-BRIDGE-IN' if $rule->{action} eq 'ACCEPT';
-            ruleset_generate_rule($rule, $chain, $rule);
+            ruleset_generate_rule($ruleset, $chain, $rule);
         }
     }
 }
         }
     }
 }