From: Dietmar Maurer Date: Tue, 4 Mar 2014 09:09:59 +0000 (+0100) Subject: s/enablehostfw/enable_host_firewall/ X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=d18c1e2b2cd5c7fc1c20e5835f8881412765c583;hp=6a8a75dbe14f85c4ac005305aaa4e70e0ba7d0bf s/enablehostfw/enable_host_firewall/ --- diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 140cbe6..bb151fa 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -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}}) {