delete multicast route to fix the losing message issue.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-05-23 02:30:46 +00:00
parent 276f492fd9
commit e01f51e8d5

View File

@ -318,9 +318,9 @@ sub send_service_request_single {
my $ip = $sip;
$ip =~ s/\/(.*)//;
my $maskbits = $1;
if (xCAT::Utils->isAIX()) {
my $runcmd = `route add 239.255.255.253 $ip`;
}
#if (xCAT::Utils->isAIX()) {
# my $runcmd = `route add 239.255.255.253 $ip`;
#}
my $ipn = inet_aton($ip); #we are ipv4 only, this is ok
my $ipnum=unpack("N",$ipn);
$ipnum= $ipnum | (2**(32-$maskbits))-1;