mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
use netutils.ParseIPSloppy
This commit is contained in:
parent
dc86bdc3aa
commit
68d78c89ec
@ -705,7 +705,7 @@ func CanUseIPVSProxier(ipvs utilipvs.Interface, ipsetver IPSetVersioner, schedul
|
||||
// from documentation is not unheard of, so the restriction to not use the TEST-NET-2 range
|
||||
// must be documented.
|
||||
vs := utilipvs.VirtualServer{
|
||||
Address: net.ParseIP("198.51.100.0"),
|
||||
Address: netutils.ParseIPSloppy("198.51.100.0"),
|
||||
Protocol: "TCP",
|
||||
Port: 20000,
|
||||
Scheduler: scheduler,
|
||||
|
Loading…
Reference in New Issue
Block a user