diff --git a/perl-xCAT/xCAT/PPCscan.pm b/perl-xCAT/xCAT/PPCscan.pm index 73eed353d..6756a47d0 100644 --- a/perl-xCAT/xCAT/PPCscan.pm +++ b/perl-xCAT/xCAT/PPCscan.pm @@ -10,6 +10,7 @@ use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR); use xCAT::PPCdb; use xCAT::GlobalDef; use xCAT::Usage; +use xCAT::NetworkUtils; ############################################## @@ -107,7 +108,7 @@ sub getshorthost { my $ip = shift; - my $host = xCAT::Utils->gethostname($ip); + my $host = xCAT::NetworkUtils->gethostname($ip); if ( $host and !$! ) { ############################## # Get short-hostname