forked from extern/shorewall_code
Even simpler RE for detecting builtins
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
693d0e5d4c
commit
585711caa8
@ -635,7 +635,7 @@ 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} || $to =~ / +./; #If the target has options, it must be a builtin.
|
||||
$toref = ensure_chain( $fromref->{table} , $to ) unless $builtin_target{$to} || $to =~ /--/; #If the target has options, it must be a builtin.
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user