diff --git a/osscluster.go b/osscluster.go index 72e922a8..74a0f98c 100644 --- a/osscluster.go +++ b/osscluster.go @@ -714,7 +714,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() }