mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
Allow :R with DIVERT
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
5b7a9db170
commit
66ae4975b2
@ -4173,7 +4173,9 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) {
|
||||
minparams => 0,
|
||||
maxparams => 0,
|
||||
function => sub () {
|
||||
fatal_error 'DIVERT is only allowed in the PREROUTING chain' if $designator && $designator != PREROUTING;
|
||||
fatal_error 'DIVERT is only allowed in the PREROUTING chain' if $designator &&
|
||||
$designator != PREROUTING &&
|
||||
$designator != REALPREROUTING;
|
||||
my $mark = in_hex( $globals{TPROXY_MARK} ) . '/' . in_hex( $globals{TPROXY_MARK} );
|
||||
|
||||
unless ( $divertref ) {
|
||||
|
Loading…
Reference in New Issue
Block a user