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 =~ /^,/ ) {
|
if ( $tag =~ /^,/ ) {
|
||||||
( $disposition = $tag ) =~ s/,//;
|
( $disposition = $tag ) =~ s/,//;
|
||||||
} elsif ( $tag =~ /,/ ) {
|
} elsif ( $tag =~ /,/ ) {
|
||||||
( $chain, $disposition ) = split ',', $tag;
|
( $chain, $disposition ) = split ',', $tag, 2;
|
||||||
} else {
|
} else {
|
||||||
$chain = $tag;
|
$chain = $tag;
|
||||||
}
|
}
|
||||||
@ -6336,7 +6336,7 @@ sub log_irule_limit( $$$$$$$@ ) {
|
|||||||
if ( $tag =~ /^,/ ) {
|
if ( $tag =~ /^,/ ) {
|
||||||
( $disposition = $tag ) =~ s/,//;
|
( $disposition = $tag ) =~ s/,//;
|
||||||
} elsif ( $tag =~ /,/ ) {
|
} elsif ( $tag =~ /,/ ) {
|
||||||
( $chain, $disposition ) = split ',', $tag;
|
( $chain, $disposition ) = split ',', $tag, 2;
|
||||||
} else {
|
} else {
|
||||||
$chain = $tag;
|
$chain = $tag;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user