mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Fix UDPLITE handling of source port when no dest port given.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
b2a56cd542
commit
66c883de2c
@ -1863,7 +1863,7 @@ sub do_proto( $$$;$ )
|
||||
$output .= "${invert}--dport ${ports} ";
|
||||
}
|
||||
} else {
|
||||
$multiport = ( ( $sports =~ tr/,/,/ ) > 0 );
|
||||
$multiport = ( ( $sports =~ tr/,/,/ ) > 0 || $proto == UDPLITE );
|
||||
}
|
||||
|
||||
if ( $sports ne '' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user