There was an error while loading. Please reload this page.
1 parent c863d48 commit 6613dd4Copy full SHA for 6613dd4
1 file changed
orchagent/dash/dashrouteorch.cpp
@@ -84,7 +84,7 @@ bool DashRouteOrch::addOutboundRouting(const string& key, OutboundRoutingBulkCon
84
outbound_routing_attrs.push_back(outbound_routing_attr);
85
}
86
87
- if (!ctxt.action_type.compare("vnet_direct"))
+ if (!ctxt.action_type.compare("vnet_direct") && !ctxt.overlay_ip.isZero())
88
{
89
outbound_routing_attr.id = SAI_OUTBOUND_ROUTING_ENTRY_ATTR_OVERLAY_IP;
90
copy(outbound_routing_attr.value.ipaddr, ctxt.overlay_ip);
0 commit comments