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:
teastep 2007-08-01 15:45:22 +00:00
parent 686655304d
commit 4bc07eb658

View File

@ -836,8 +836,8 @@ sub validate_port_list( $ ) {
require_capability( 'XMULTIPORT' , 'Port ranges in a port list', '' );
}
for my $port ( split/,/, $_[0] ) {
my $value = validate_portpair( $port );
for ( @list ) {
my $value = validate_portpair( $_ );
$result = $result ? join ',', $result, $value : $value;
}