mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-17 18:21:03 +01:00
Allow :<port> in tcfilters
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
2fa16f6d08
commit
f25b9e1967
@ -445,7 +445,7 @@ sub expand_port_range( $$ ) {
|
|||||||
#
|
#
|
||||||
# Validate the ports
|
# Validate the ports
|
||||||
#
|
#
|
||||||
( $first , $last ) = ( validate_port( $proto, $first ) , validate_port( $proto, $last ) );
|
( $first , $last ) = ( validate_port( $proto, $first || 1 ) , validate_port( $proto, $last ) );
|
||||||
|
|
||||||
$last++; #Increment last address for limit testing.
|
$last++; #Increment last address for limit testing.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user