From 5e482788b8af0534fcdd475396479b0d8d2b94f5 Mon Sep 17 00:00:00 2001 From: yinle Date: Fri, 3 Feb 2012 02:50:21 +0000 Subject: [PATCH] Fix bug 3467860, xcatsetup: the IP of fsp 40.63.01.2 has 0 at head of a part git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/setup.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/setup.pm b/xCAT-server/lib/xcat/plugins/setup.pm index 037c4260e..3f05395ea 100644 --- a/xCAT-server/lib/xcat/plugins/setup.pm +++ b/xCAT-server/lib/xcat/plugins/setup.pm @@ -679,6 +679,8 @@ sub writechildren2 { $cecend = $$cechash{'secondary-end'}; for (my $ii = $framestart; $ii <= $frameend; $ii++) { for (my $jj = $cecstart; $jj <= $cecend; $jj++) { + $ii = int($ii); + $jj = int($jj); $myip = $vlan1 . '.' . $ii . '.' . $jj . '.1'; $sidehash{$myip}->{side} = 'A-0'; push @ipgroup, $myip;