Skip to content

Commit 56d10bc

Browse files
committed
remove preivious change
1 parent 502994f commit 56d10bc

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
@@ -190,7 +190,7 @@ func (m *Multitenancy) SetupRoutingForMultitenancy(
190190
// if snat enabled, add 169.254.128.1 as default gateway
191191
if nwCfg.EnableSnatOnHost {
192192
logger.Info("add default route for multitenancy.snat on host enabled")
193-
m.addDefaultRoute(cnsNetworkConfig.LocalIPConfiguration.GatewayIPAddress, epInfo, result)
193+
addDefaultRoute(cnsNetworkConfig.LocalIPConfiguration.GatewayIPAddress, epInfo, result)
194194
} else {
195195
// only set default route when skipDefaultRoutes is false to avoid duplicated default routes given to HNS
196196
if !epInfo.SkipDefaultRoutes {

0 commit comments

Comments
 (0)