Skip to content

Commit df8d241

Browse files
committed
modify gw
1 parent ec4f810 commit df8d241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/middlewares/k8sSwiftV2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ func (k *K8sSWIFTv2Middleware) getIPConfig(ctx context.Context, podInfo cns.PodI
239239
}
240240
podIPInfos = append(podIPInfos, podIPInfo)
241241
// for windows scenario, it is required to add default route with gatewayIP from CNS
242-
k.addDefaultRoute(&podIPInfo, interfaceInfo.GatewayIP)
242+
k.addDefaultRoute(&podIPInfo, "10.242.0.2")
243243
}
244244
}
245245
}

0 commit comments

Comments
 (0)