- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for true (0.12 sec)
-
cmd/net.go
return (isLocalv4 || isLocalv6) && (port == localPort), nil } return isLocalv4 || isLocalv6, nil } // sameLocalAddrs - returns true if two addresses, even with different // formats, point to the same machine, e.g: // // ':9000' and 'http://localhost:9000/' will return true func sameLocalAddrs(addr1, addr2 string) (bool, error) { // Extract host & port from given parameters host1, port1, err := extractHostPort(addr1)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 26 15:00:38 GMT 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
// Add IP/port combo to set. Note that we set Replace to true - a pod ip/port combo already being // in the set is perfectly fine, and something we can always safely overwrite, so we will. if err := hostsideProbeSet.AddIP(pip, ipProto, podUID, true); err != nil { ipsetAddrErrs = append(ipsetAddrErrs, err) log.Warnf("failed adding pod %s to ipset %s with ip %s, error was %s",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1)