forked from extern/shorewall_code
Allow comma in disposition when LOGTAGONLY=Yes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
54b6488113
commit
694dc64900
@ -6242,7 +6242,7 @@ sub log_rule_limit( $$$$$$$$ ) {
|
||||
if ( $tag =~ /^,/ ) {
|
||||
( $disposition = $tag ) =~ s/,//;
|
||||
} elsif ( $tag =~ /,/ ) {
|
||||
( $chain, $disposition ) = split ',', $tag;
|
||||
( $chain, $disposition ) = split ',', $tag, 2;
|
||||
} else {
|
||||
$chain = $tag;
|
||||
}
|
||||
@ -6336,7 +6336,7 @@ sub log_irule_limit( $$$$$$$@ ) {
|
||||
if ( $tag =~ /^,/ ) {
|
||||
( $disposition = $tag ) =~ s/,//;
|
||||
} elsif ( $tag =~ /,/ ) {
|
||||
( $chain, $disposition ) = split ',', $tag;
|
||||
( $chain, $disposition ) = split ',', $tag, 2;
|
||||
} else {
|
||||
$chain = $tag;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user