2
0
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:
Casandra Qiu 2017-05-18 11:27:59 -04:00
parent d7c78132ee
commit 56fe5f4239

View File

@ -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++;
}