mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-28 08:29:28 +01:00
One more fix for SAME
This commit is contained in:
parent
367fc041b8
commit
d9ced1051a
@ -294,7 +294,11 @@ sub process_tc_rule( ) {
|
||||
fatal_error "SAME rules are only allowed in the PREROUTING and OUTPUT chains" if $chain ne 'tcpre';
|
||||
}
|
||||
|
||||
ensure_mangle_chain($target);
|
||||
my $chain1 = $target;
|
||||
|
||||
$chain1 =~ s/ +$//;
|
||||
|
||||
ensure_mangle_chain($chain1);
|
||||
|
||||
$sticky++;
|
||||
} elsif ( $target eq 'IPMARK ' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user