mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-15 01:09:30 +01:00
Don't use -g when the target might not be terminating
Signed-off-by: Tom Eastep <teastep@shorewall.net> git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9834 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
ae169f00a7
commit
f20013898e
@ -2340,6 +2340,10 @@ sub expand_rule( $$$$$$$$$$$ )
|
||||
push @ends, $end;
|
||||
}
|
||||
#
|
||||
# Trim disposition
|
||||
#
|
||||
$disposition =~ s/\s+.*//;
|
||||
#
|
||||
# Handle Log Level
|
||||
#
|
||||
my $logtag;
|
||||
@ -2709,7 +2713,7 @@ sub expand_rule( $$$$$$$$$$$ )
|
||||
if ( $disposition ne 'LOG' ) {
|
||||
my $logchainref = new_chain $chainref->{table}, newlogchain;
|
||||
|
||||
add_jump( $chainref, $logchainref, 1, $rule );
|
||||
add_jump( $chainref, $logchainref, $builtin_target{$disposition}, $rule );
|
||||
|
||||
log_rule_limit(
|
||||
$loglevel ,
|
||||
|
Loading…
Reference in New Issue
Block a user