mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 03:23:47 +01:00
Correct hashlimit in logging rules
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8075ba719a
commit
de21c59885
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user