mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-17 19:18:32 +01:00
Transfer tag when merging into an NFLOG/ULOG rule.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
67e1e6cf91
commit
b7e2b28562
@ -1127,7 +1127,7 @@ sub merge_levels ($$) {
|
||||
my $tag = $supparts[2];
|
||||
|
||||
if ( @supparts == 3 ) {
|
||||
return $subordinate if $target =~ /^(?:NFLOG|ULOG)\b/;
|
||||
return "$subordinate:$tag" if $target =~ /^(?:NFLOG|ULOG)\b/;
|
||||
return "$target:none!:$tag" if $level eq 'none!';
|
||||
return "$target:$level:$tag" if $level =~ /!$/;
|
||||
return $subordinate if $subparts >= 2;
|
||||
|
Loading…
Reference in New Issue
Block a user