From de7a0df550f21a4188a6ac32a592f42b551630f1 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 24 Feb 2011 15:56:50 -0800 Subject: [PATCH] Cosmetic changes to the Chains module --- Shorewall/Perl/Shorewall/Chains.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 85565756d..42d6c6484 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -276,7 +276,9 @@ use constant { NO_RESTRICT => 0, # FORWARD chain rule - Both -i an ALL_RESTRICT => 12, # fw->fw rule - neither -i nor -o allowed DESTIFACE_DISALLOW => 32, # Don't allow dest interface. Similar to INPUT_RESTRICT but generates a more relevant error message }; - +# +# See initialize() below for additional comments on these variables +# our $iprangematch; our $chainseq; our $idiotcount; @@ -285,7 +287,6 @@ our $warningcount; our $hashlimitset; our $global_variables; our $ipset_rules; - # # Determines the commands for which a particular interface-oriented shell variable needs to be set # @@ -3552,8 +3553,6 @@ sub handle_network_list( $$ ) { } - - ################################################################################################################ # # This function provides a uniform way to generate Netfilter[6] rules (something the original Shorewall