kubernetes/pkg/proxy/util/iptables
Dan Winship e2900da46a Remove unnecessary utiliptables.Interface arg from local detectors
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.
2023-07-05 09:11:23 -04:00
..
traffic_test.go Remove unnecessary utiliptables.Interface arg from local detectors 2023-07-05 09:11:23 -04:00
traffic.go Remove unnecessary utiliptables.Interface arg from local detectors 2023-07-05 09:11:23 -04:00