From de21c5988579c8f9d1e04f6f61ee813fe488ab23 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 13 Jan 2016 09:49:22 -0800 Subject: [PATCH] Correct hashlimit in logging rules Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index c404d42de..fd04bc979 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -6215,7 +6215,7 @@ sub log_rule_limit( $$$$$$$$ ) { $matches .= ' ' if $matches && substr( $matches, -1, 1 ) ne ' '; - unless ( $matches =~ /-m limit / ) { + unless ( $matches =~ /-m (?:limit|hashlimit) / ) { $limit = $globals{LOGLIMIT} unless $limit && $limit ne '-'; $matches .= $limit if $limit; }