Fixed one issue while check if I am the given service node

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-02-20 07:23:07 +00:00
parent cda0df7b5c
commit fce8747ca4

View File

@ -225,6 +225,7 @@ sub is_me
{
my ($inet, $myIP, $str) = split(" ", $int);
chomp $myIP;
$myIP =~ s/addr://;
$myIP =~ s/\/.*//; # ipv6 address 4000::99/64
$myIP =~ s/\%.*//; # ipv6 address ::1%1/128