From 56fe5f42393dc6f76e87763a4bb0d17c8341d4e1 Mon Sep 17 00:00:00 2001 From: Casandra Qiu Date: Thu, 18 May 2017 11:27:59 -0400 Subject: [PATCH] change to < to <= --- xCAT-server/share/xcat/scripts/configMellanox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/scripts/configMellanox b/xCAT-server/share/xcat/scripts/configMellanox index ab2e798cc..8095d3bc6 100755 --- a/xCAT-server/share/xcat/scripts/configMellanox +++ b/xCAT-server/share/xcat/scripts/configMellanox @@ -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++; }