Commit 67a7bceb authored by Leigh B. Stoller's avatar Leigh B. Stoller

Possible fix to last revision which broke a middle of the shelf case.

parent 41d903c1
......@@ -1920,15 +1920,16 @@ sub TBExptSetPortRange {
#
foreach my $vnode (keys(%v2pmap)) {
my $pnode = $v2pmap{$vnode};
my $ppnode = $p2pmap{$pnode};
if ($isvirtnode{$vnode}) {
my $ppnode = $p2pmap{$pnode};
push(@nodelist, $ppnode);
}
else {
# Same big port range for all phys nodes.
$portnext{$ppnode} = TBDB_LOWVPORT;
$porthigh{$ppnode} = TBDB_MAXVPORT;
$portnext{$pnode} = TBDB_LOWVPORT;
$porthigh{$pnode} = TBDB_MAXVPORT;
}
}
if (! @nodelist) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment