[pve-devel] [PATCH] fix generate_group_rules

Alexandre Derumier aderumier at odiso.com
Mon Feb 17 13:59:08 CET 2014


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Firewall.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Firewall.pm b/PVE/Firewall.pm
index 4b14871..b8cef22 100644
--- a/PVE/Firewall.pm
+++ b/PVE/Firewall.pm
@@ -430,7 +430,7 @@ sub generate_group_rules {
             # we go the BRIDGEFW-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} = 'BRIDGEFW-IN' if $rule->{action} eq 'ACCEPT';
-            ruleset_generate_rule($rule, $chain, $rule);
+            ruleset_generate_rule($ruleset, $chain, $rule);
         }
     }
 }
-- 
1.7.10.4




More information about the pve-devel mailing list