forked from extern/shorewall_code
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', '' );
|
||||
}
|
||||
|
||||
for my $port ( split/,/, $_[0] ) {
|
||||
my $value = validate_portpair( $port );
|
||||
for ( @list ) {
|
||||
my $value = validate_portpair( $_ );
|
||||
$result = $result ? join ',', $result, $value : $value;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user