diff --git a/xCAT-server-2.0/usr/sbin/xcatd b/xCAT-server-2.0/usr/sbin/xcatd index ecae911b8..9839e0bb3 100755 --- a/xCAT-server-2.0/usr/sbin/xcatd +++ b/xCAT-server-2.0/usr/sbin/xcatd @@ -278,7 +278,7 @@ until ($quit) { if (defined $tmp->{value}) { $domain = $tmp->{value}; } - $peerhost = gethostbyaddr($connection->peeraddr),AF_INET6); + $peerhost = gethostbyaddr($connection->peeraddr,AF_INET6); $peerhost =~ s/\.$domain\.*$//; $peerhost =~ s/-eth\d*$//; $peerhost =~ s/-myri\d*$//;