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
This commit is contained in:
yinle 2012-08-27 07:05:05 +00:00
parent a2e8f65c21
commit 7f0c5a915f

View File

@ -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;