From e059f9fbf80a6878a9f15ab03f81f0b39dab469d Mon Sep 17 00:00:00 2001 From: Jonathan Suever <653357+suever@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:18:03 -0400 Subject: [PATCH] Do not assume that all non-IP hosts are loopbacks --- osscluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osscluster.go b/osscluster.go index ce258ff3..458d956f 100644 --- a/osscluster.go +++ b/osscluster.go @@ -691,7 +691,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() }