mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Finish port-range/XMULTIPORT change
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7022 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
686655304d
commit
4bc07eb658
@ -836,8 +836,8 @@ sub validate_port_list( $ ) {
|
|||||||
require_capability( 'XMULTIPORT' , 'Port ranges in a port list', '' );
|
require_capability( 'XMULTIPORT' , 'Port ranges in a port list', '' );
|
||||||
}
|
}
|
||||||
|
|
||||||
for my $port ( split/,/, $_[0] ) {
|
for ( @list ) {
|
||||||
my $value = validate_portpair( $port );
|
my $value = validate_portpair( $_ );
|
||||||
$result = $result ? join ',', $result, $value : $value;
|
$result = $result ? join ',', $result, $value : $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user