From: Thomas Lamprecht Date: Fri, 12 Apr 2019 11:50:27 +0000 (+0200) Subject: firewall: split and order modules X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;ds=sidebyside;h=0fd61594dfc77ff66d4925d7a395e5a3735966e0;p=pve-firewall.git firewall: split and order modules Signed-off-by: Thomas Lamprecht --- diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index 4dfb7cc..68d4c81 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -3,25 +3,26 @@ package PVE::Firewall; use warnings; use strict; -use POSIX; use Data::Dumper; use Digest::SHA; +use Encode; +use File::Basename; +use File::Path; +use IO::File; +use Net::IP; +use POSIX; use Socket qw(AF_INET6 inet_ntop inet_pton); -use PVE::INotify; +use Storable qw(dclone); + +use PVE::Cluster; use PVE::Exception qw(raise raise_param_exc); +use PVE::INotify; use PVE::JSONSchema qw(register_standard_option get_standard_option); -use PVE::Cluster; -use PVE::ProcFSTools; -use PVE::Tools qw($IPV4RE $IPV6RE); use PVE::Network; +use PVE::ProcFSTools; use PVE::SafeSyslog; -use File::Basename; -use File::Path; -use IO::File; -use Net::IP; +use PVE::Tools qw($IPV4RE $IPV6RE); use PVE::Tools qw(run_command lock_file dir_glob_foreach); -use Encode; -use Storable qw(dclone); my $hostfw_conf_filename = "/etc/pve/local/host.fw"; my $pvefw_conf_dir = "/etc/pve/firewall";