forked from extern/shorewall_code
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';
|
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++;
|
$sticky++;
|
||||||
} elsif ( $target eq 'IPMARK ' ) {
|
} elsif ( $target eq 'IPMARK ' ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user