Compare commits

...

2 Commits

Author SHA1 Message Date
Jonathan Suever d8eca025d9
Merge e059f9fbf8 into 930d904205 2024-11-13 16:01:55 +02:00
Jonathan Suever e059f9fbf8
Do not assume that all non-IP hosts are loopbacks 2024-08-07 17:18:03 -04:00
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}