- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isLoopback (0.25 sec)
-
cmd/net.go
// This case is needed when all ips in the list // have same last octets, Following just ensures that // 127.0.0.1 is moved to the end of the list. if ipV4s[i].IsLoopback() { return false } if ipV4s[j].IsLoopback() { return true } return []byte(ipV4s[i].To4())[3] > []byte(ipV4s[j].To4())[3] }) var ips []string for _, ip := range ipV4s { ips = append(ips, ip.String())
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1)