diff --git a/perl-xCAT/xCAT/PPCfsp.pm b/perl-xCAT/xCAT/PPCfsp.pm index 21af77560..310f6e14f 100644 --- a/perl-xCAT/xCAT/PPCfsp.pm +++ b/perl-xCAT/xCAT/PPCfsp.pm @@ -141,7 +141,7 @@ sub connect { ################################## my $hosttab = xCAT::Table->new( 'hosts' ); if ( $hosttab) { - my $hostshash = $hosttab->getNodeAttribs( $server, [qw(otherinterfaces)]); + my $hostshash = $hosttab->getNodeAttribs( $server, [qw(ip otherinterfaces)]); if ( $hostshash ) { $server = $hostshash->{ip}; } @@ -262,6 +262,7 @@ sub loginstate { return ([RC_ERROR, $res->status_line]); } if ($res->content =~ m#$log_name