From fce8747ca4a1a8116a9963584d10a483acafcdd8 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 20 Feb 2012 07:23:07 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/InstUtils.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/InstUtils.pm b/perl-xCAT/xCAT/InstUtils.pm index f8efca6de..fc0272908 100644 --- a/perl-xCAT/xCAT/InstUtils.pm +++ b/perl-xCAT/xCAT/InstUtils.pm @@ -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