mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +00:00
change to < to <=
This commit is contained in:
parent
d7c78132ee
commit
56fe5f4239
@ -349,7 +349,7 @@ sub config_vlan {
|
||||
foreach my $num_str (split /,/, $port_input) {
|
||||
if ($num_str =~ /-/) {
|
||||
my ($min, $max) = split (/-/,$num_str);
|
||||
while ($min < $max) {
|
||||
while ($min <= $max) {
|
||||
push (@ports,$min);
|
||||
$min++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user