From 0fd61594dfc77ff66d4925d7a395e5a3735966e0 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 12 Apr 2019 13:50:27 +0200 Subject: [PATCH] firewall: split and order modules Signed-off-by: Thomas Lamprecht --- src/PVE/Firewall.pm | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) 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"; -- 2.39.2