mirror of https://github.com/k3s-io/k3s
commit
b96378c058
|
@ -513,7 +513,7 @@ func NewProxier(
|
||||||
var hns HostNetworkService
|
var hns HostNetworkService
|
||||||
hns = hnsV1{}
|
hns = hnsV1{}
|
||||||
supportedFeatures := hcn.GetSupportedFeatures()
|
supportedFeatures := hcn.GetSupportedFeatures()
|
||||||
if supportedFeatures.Api.V2 {
|
if supportedFeatures.RemoteSubnet {
|
||||||
hns = hnsV2{}
|
hns = hnsV2{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue