diff --git a/network/endpoint_windows.go b/network/endpoint_windows.go index 197e0c12ad..edd52327f2 100644 --- a/network/endpoint_windows.go +++ b/network/endpoint_windows.go @@ -337,6 +337,7 @@ func (nw *network) configureHcnEndpoint(epInfo *EndpointInfo) (*hcn.HostComputeE NextHop: route.Gw.String(), DestinationPrefix: route.Dst.String(), } + hcnEndpoint.Routes = append(hcnEndpoint.Routes, hcnRoute) }