avoid perl warning
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Feb 2014 11:08:19 +0000 (12:08 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Feb 2014 11:08:19 +0000 (12:08 +0100)
PVE/Firewall.pm

index 324a20d..47862f1 100644 (file)
@@ -395,7 +395,7 @@ sub enablehostfw {
     ruleset_addrule($ruleset, $chain, "-j DROP");
 
     # host outbound firewall
-    my $chain = "PVEFW-HOST-OUT";
+    $chain = "PVEFW-HOST-OUT";
     ruleset_create_chain($ruleset, $chain);
 
     ruleset_addrule($ruleset, $chain, "-m state --state INVALID -j DROP");