From 59a83730a468860030a05b987eefa5bf50f1ac9b Mon Sep 17 00:00:00 2001 From: yinle Date: Tue, 7 Aug 2012 02:54:03 +0000 Subject: [PATCH] Fix PMR 29187,066,866 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/SLP.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/SLP.pm b/perl-xCAT/xCAT/SLP.pm index e0138fadb..63b052cd6 100644 --- a/perl-xCAT/xCAT/SLP.pm +++ b/perl-xCAT/xCAT/SLP.pm @@ -572,7 +572,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); } }