Remove redundant space from log rules

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6192 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-02 15:49:41 +00:00
parent 3d4900ef9e
commit 47b309f221
2 changed files with 3 additions and 3 deletions

View File

@ -1120,9 +1120,9 @@ sub log_rule_limit( $$$$$$$$ ) {
} }
if ( $level eq 'ULOG' ) { if ( $level eq 'ULOG' ) {
$prefix = "-j ULOG $globals{LOGPARMS} --ulog-prefix \"$prefix\" "; $prefix = "-j ULOG $globals{LOGPARMS}--ulog-prefix \"$prefix\" ";
} else { } else {
$prefix = "-j LOG $globals{LOGPARMS} --log-level $level --log-prefix \"$prefix\" "; $prefix = "-j LOG $globals{LOGPARMS}--log-level $level --log-prefix \"$prefix\" ";
} }
if ( $command eq 'add' ) { if ( $command eq 'add' ) {

View File

@ -563,7 +563,7 @@ sub add_common_rules() {
my $savelogparms = $globals{LOGPARMS}; my $savelogparms = $globals{LOGPARMS};
$globals{LOGPARMS} = "$globals{LOGPARMS} --log-ip-options" unless $config{TCP_FLAGS_LOG_LEVEL} eq 'ULOG'; $globals{LOGPARMS} = "$globals{LOGPARMS}--log-ip-options " unless $config{TCP_FLAGS_LOG_LEVEL} eq 'ULOG';
log_rule $config{TCP_FLAGS_LOG_LEVEL} , $logflagsref , $config{TCP_FLAGS_DISPOSITION}, ''; log_rule $config{TCP_FLAGS_LOG_LEVEL} , $logflagsref , $config{TCP_FLAGS_DISPOSITION}, '';