]> git.proxmox.com Git - pve-firewall.git/commitdiff
s/enablehostfw/enable_host_firewall/
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 4 Mar 2014 09:09:59 +0000 (10:09 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 4 Mar 2014 09:09:59 +0000 (10:09 +0100)
src/PVE/Firewall.pm

index 140cbe6e109a2b337a4c96b070445ced51927263..bb151faaeb560c780db9f5f283ff6cf5a17c5db2 100644 (file)
@@ -953,7 +953,7 @@ sub generate_tap_rules_direction {
     }
 }
 
-sub enablehostfw {
+sub enable_host_firewall {
     my ($ruleset, $hostfw_conf, $groups_conf) = @_;
 
     # fixme: allow security groups
@@ -1528,7 +1528,7 @@ sub compile {
     my $hostfw_enable = $hostfw_conf && 
        !(defined($hostfw_options->{enable}) && ($hostfw_options->{enable} == 0));
 
-    enablehostfw($ruleset, $hostfw_conf, $groups_conf) if $hostfw_enable;
+    enable_host_firewall($ruleset, $hostfw_conf, $groups_conf) if $hostfw_enable;
 
     # generate firewall rules for QEMU VMs
     foreach my $vmid (keys %{$vmdata->{qemu}}) {