mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-25 20:05:42 -04:00
getLocalDetector() used to pass a utiliptables.Interface to NewDetectLocalByCIDR() so that NewDetectLocalByCIDR() could verify that the passed-in CIDR was of the same family as the iptables interface. It would make more sense for getLocalDetector() to verify this itself and just *not call NewDetectLocalByCIDR* if the families don't match, and that's what the code does now. So there's no longer any need to pass the utiliptables.Interface to the local detector. |
||
|---|---|---|
| .. | ||
| iptables | ||
| testing | ||
| endpoints.go | ||
| endpoints_test.go | ||
| network.go | ||
| nodeport_addresses.go | ||
| nodeport_addresses_test.go | ||
| utils.go | ||
| utils_test.go | ||