From f03ec5319eef9a7e0433dec0b23c7d80cb1b27ba Mon Sep 17 00:00:00 2001 From: ligc Date: Fri, 7 May 2010 09:58:36 +0000 Subject: [PATCH] ipv6 subroutines git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 236c70c1a..ec4cffb5e 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -20,6 +20,7 @@ use File::Basename; use xCAT::NodeRange; use xCAT::Schema; use xCAT::Utils; +use xCAT::NetworkUtils; use xCAT::InstUtils; use xCAT::DBobjUtils; use XML::Simple; @@ -5105,7 +5106,7 @@ sub prenimnodeset # - if not then exit foreach my $n (@nodelist) { - my $packed_ip = gethostbyname($n); + my $packed_ip = xCAT::NetworkUtils->getipaddr($n); if (!$packed_ip) { my $rsp;