mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 17:58:07 +02:00
Cleaner handling of trailing spaces from log_irule_limit.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b215cf379a
commit
1a44b66656
@ -2608,7 +2608,6 @@ sub ensure_manual_chain($) {
|
|||||||
$chainref;
|
$chainref;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub log_rule_limit( $$$$$$$$ );
|
|
||||||
sub log_irule_limit( $$$$$$$@ );
|
sub log_irule_limit( $$$$$$$@ );
|
||||||
|
|
||||||
sub ensure_blacklog_chain( $$$$ ) {
|
sub ensure_blacklog_chain( $$$$ ) {
|
||||||
@ -6159,8 +6158,6 @@ sub log_irule_limit( $$$$$$$@ ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$prefix =~ s/ $//;
|
|
||||||
|
|
||||||
if ( $command eq 'add' ) {
|
if ( $command eq 'add' ) {
|
||||||
add_ijump ( $chainref, j => $prefix , @matches );
|
add_ijump ( $chainref, j => $prefix , @matches );
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user