diff --git a/perl-xCAT/xCAT/FSPcfg.pm b/perl-xCAT/xCAT/FSPcfg.pm index dbe708bcb..a06c8ace7 100644 --- a/perl-xCAT/xCAT/FSPcfg.pm +++ b/perl-xCAT/xCAT/FSPcfg.pm @@ -913,13 +913,8 @@ sub fsp_api_passwd { ########################################################################## sub resetnet { my $request = shift; - my $hash = shift; - my %nodehash; - foreach ( @{$request->{noderange}}) { - $nodehash{$_} = 1; - } - my $result = xCAT::PPCcfg::doresetnet($request, \%nodehash); - return [$result]; + xCAT::PPCcfg::doresetnet($request); + exit(0); } 1;