call NetworkUtils.pm subroutines instead of Utils.pm subroutines

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6011 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2010-05-07 02:49:07 +00:00
parent 455c4d6c0a
commit ca2139e2e5

View File

@ -16,6 +16,7 @@ use Sys::Hostname;
use xCAT::NodeRange;
use xCAT::Schema;
use xCAT::Utils;
use xCAT::NetworkUtils;
use xCAT::DBobjUtils;
use Data::Dumper;
use Getopt::Long;
@ -1498,7 +1499,7 @@ sub mkNIMnetwork
# if the ip address is in the subnet
# the right interface
if ( xCAT::Utils->ishostinsubnet($myIP, $nethash{$node}{mask}, $nethash{$node}{net} )) {
$adapterhostname = xCAT::Utils->gethostname($myIP);
$adapterhostname = xCAT::NetworkUtils->gethostname($myIP);
last;
}
}