From 22463e451d7404d1139833e04f144fe8cbb11cc0 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 22 Jul 2011 11:06:29 -0700 Subject: [PATCH] More efficient method of generating rule strings for comparison Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 32 ++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index d9de01e91..4df9cf0e8 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -421,6 +421,7 @@ my %ipset_exists; # jump => 'j', 'g' or '' (determines whether '-j' or '-g' is included # target => Rule target, if jump is 'j' or 'g'. # targetopts => Target options. Only included if non-empty +# rule => String representation of rule for comparison #