diff --git a/osscluster.go b/osscluster.go index 6c6b75638..e08d016dc 100644 --- a/osscluster.go +++ b/osscluster.go @@ -744,7 +744,7 @@ func replaceLoopbackHost(nodeAddr, originHost string) string { func isLoopback(host string) bool { ip := net.ParseIP(host) if ip == nil { - return true + return false } return ip.IsLoopback() }