From 68d78c89eccf2d2f381033c836472d53f3ba41c9 Mon Sep 17 00:00:00 2001 From: Lars Ekman Date: Fri, 23 Dec 2022 14:19:28 +0100 Subject: [PATCH] use netutils.ParseIPSloppy --- pkg/proxy/ipvs/proxier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/ipvs/proxier.go b/pkg/proxy/ipvs/proxier.go index 6fe7aabc81a..d12bccf4f1e 100644 --- a/pkg/proxy/ipvs/proxier.go +++ b/pkg/proxy/ipvs/proxier.go @@ -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,