Hidden IPV6 address for HMC temporarily.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9291 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-04-13 05:29:20 +00:00
parent d6e50f92aa
commit b56ec8e75c

View File

@ -2245,6 +2245,19 @@ sub parse_responses {
###########################################
# Strip commas from IP list
###########################################
# we need te hidden ipv6 ip address temporarily
my @iptmp = split /,/, $result[4];
my @iptmp2;
foreach (@iptmp){
if ($_ =~ /\d+\.\d+\.\d+\.\d+/) {
push @iptmp2,$_;
}
}
$result[4] = join( ",", @iptmp2);
# end of hidden ipv6 ip address
$result[4] =~ s/,/ /g;
my $ip = $result[4];