Fix PMR 29187,066,866

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-08-07 02:55:25 +00:00
parent 8d93c5ec4a
commit 1285f0226c

View File

@ -571,7 +571,8 @@ sub get_ipv4_neighbors {
#if ($entry =~ /at (\w+\:\w+\:\w+\:\w+\:\w+\:\w+)/) {
# $ip4neigh{$ip}=$1;
if ($entry =~ /at (\w+)\:(\w+)\:(\w+)\:(\w+)\:(\w+)\:(\w+)/) {
$ip4neigh{$ip}=$1.$2.$3.$4.$5.$6;
#$ip4neigh{$ip}=$1.$2.$3.$4.$5.$6;
$ip4neigh{$ip}=sprintf("%02s%02s%02s%02s%02s%02s",$1,$2,$3,$4,$5,$6);
}
}