From 3f9b2ef5f789549702043228a5d7478f18e500eb Mon Sep 17 00:00:00 2001 From: yinle Date: Tue, 6 Dec 2011 07:10:56 +0000 Subject: [PATCH] minor fix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/setup.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/setup.pm b/xCAT-server/lib/xcat/plugins/setup.pm index a217ab4fe..c39765ee5 100644 --- a/xCAT-server/lib/xcat/plugins/setup.pm +++ b/xCAT-server/lib/xcat/plugins/setup.pm @@ -1205,7 +1205,10 @@ sub findSNsinBB { my $framebase = $$framename{'primary-start'}; foreach my $p (@snpositions) { my $cecbase = 0; - my $frame = $framebase; + my $framehash = parsenoderange($STANZAS{'xcat-frames'}); + my $frame1 = $$framehash{'primary-start'}; + my $frame = $frame1; + #my $frame = $framebase; while ($p > ($cecbase + ($NUMCECSINFRAME{$frame}||$cecsperframe))) { # p is not in this frame, go on to the next $cecbase += $NUMCECSINFRAME{$frame} || $cecsperframe;