fix bug 3413 lssp -s CEC not finding FSP for P7 740 server on 70 NGP HW

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@15474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2013-03-13 09:38:16 +00:00
parent 1789b73dc7
commit 29af239759

View File

@ -394,9 +394,11 @@ sub send_service_request_single {
$ipnum= $ipnum | (2**(32-$maskbits))-1;
my $bcastn = pack("N",$ipnum);
my $bcastaddr = sockaddr_in(427,$bcastn);
$socket->sockopt(SO_BROADCAST, 1) or die("sockopt: $!\n");
$socket->send($packet,0,$bcastaddr);
setsockopt($socket,0,IP_MULTICAST_IF,$ipn);
$socket->send($packet,0,$ipv4sockaddr);
$socket->send($packet,0,$bcastaddr);
}
}
}