mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-29 11:04:03 +01:00
Correct handling of NFQUEUE(queue-num) as a policy.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
99ec099c98
commit
223e1e434a
@ -635,7 +635,11 @@ sub add_jump( $$$;$$$ ) {
|
|||||||
#
|
#
|
||||||
# Ensure that we have the chain unless it is a builtin like 'ACCEPT'
|
# Ensure that we have the chain unless it is a builtin like 'ACCEPT'
|
||||||
#
|
#
|
||||||
$toref = ensure_chain( $fromref->{table} , $to ) unless $builtin_target{ $to };
|
my $target = $to;
|
||||||
|
|
||||||
|
$target =~ s/\s.*//; # $to might hold something like 'NFQUEUE --queue-num 0'
|
||||||
|
|
||||||
|
$toref = ensure_chain( $fromref->{table} , $to ) unless $builtin_target{ $target };
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user