mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 15:43:30 +01:00
Make merge_inline_source_dest() a little safer
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bc3573fcbc
commit
c92ebc3908
@ -1620,7 +1620,7 @@ sub merge_inline_source_dest( $$ ) {
|
||||
my ( $body, $invocation ) = @_;
|
||||
|
||||
if ( $invocation ) {
|
||||
if ( $body ) {
|
||||
if ( supplied $body && $body ne '-' ) {
|
||||
return $body if $invocation eq '-';
|
||||
|
||||
if ( $family == F_IPV4 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user