Cleaner handling of trailing spaces from log_irule_limit.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-07-02 12:32:35 -07:00
parent b215cf379a
commit 1a44b66656

View File

@ -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 {