mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 20:22:12 +02: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} ";
|
$output .= "${invert}--dport ${ports} ";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$multiport = ( ( $sports =~ tr/,/,/ ) > 0 );
|
$multiport = ( ( $sports =~ tr/,/,/ ) > 0 || $proto == UDPLITE );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $sports ne '' ) {
|
if ( $sports ne '' ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user