mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 08:03:11 +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
cd2056f0aa
commit
4dedc26d9e
@ -635,7 +635,11 @@ sub add_jump( $$$;$$$ ) {
|
||||
#
|
||||
# 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