This commit is contained in:
Jonathan Suever 2024-11-22 00:17:39 -05:00 committed by GitHub
commit bb40848149
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -714,7 +714,7 @@ func replaceLoopbackHost(nodeAddr, originHost string) string {
func isLoopback(host string) bool { func isLoopback(host string) bool {
ip := net.ParseIP(host) ip := net.ParseIP(host)
if ip == nil { if ip == nil {
return true return false
} }
return ip.IsLoopback() return ip.IsLoopback()
} }