Skip to content

Commit 04e2ba1

Browse files
Update cni/network/multitenancy.go
Co-authored-by: tamilmani1989 <[email protected]> Signed-off-by: Paul Yu <[email protected]>
1 parent 7560d15 commit 04e2ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cni/network/multitenancy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (m *Multitenancy) SetupRoutingForMultitenancy(
194194
} else {
195195
// only set default route when skipDefaultRoutes is false to avoid duplicated default routes given to HNS
196196
if !epInfo.SkipDefaultRoutes {
197-
if err := m.addDefaultRouteToGateway(
197+
if err := m.addDefaultRoute(
198198
cnsNetworkConfig.IPConfiguration.GatewayIPAddress,
199199
epInfo, result,
200200
); err != nil {

0 commit comments

Comments
 (0)