From 7f0c5a915f21288d2a25a091ced2ef22e17757e4 Mon Sep 17 00:00:00 2001 From: yinle Date: Mon, 27 Aug 2012 07:05:05 +0000 Subject: [PATCH] Fix the mistake that bpa has redundant 0 in ip address (41.01.0.1). git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13616 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/setup.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/setup.pm b/xCAT-server/lib/xcat/plugins/setup.pm index ac38e6cd2..2227b320f 100644 --- a/xCAT-server/lib/xcat/plugins/setup.pm +++ b/xCAT-server/lib/xcat/plugins/setup.pm @@ -655,6 +655,7 @@ sub writechildren2 { my $cecend; if ($ntype =~ /bpa/) { for (my $ii = $framestart; $ii <= $frameend; $ii++) { + $ii = int($ii); $myip = $vlan1 . '.' . $ii . '.0.1'; $sidehash{$myip}->{side} = 'A-0'; push @ipgroup, $myip;