Skip to content

Commit 6613dd4

Browse files
[dash]: Check if overlay IP is specified (#2741)
*[dash]: Check if overlay IP is specified (#2741)
1 parent c863d48 commit 6613dd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

orchagent/dash/dashrouteorch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ bool DashRouteOrch::addOutboundRouting(const string& key, OutboundRoutingBulkCon
8484
outbound_routing_attrs.push_back(outbound_routing_attr);
8585
}
8686

87-
if (!ctxt.action_type.compare("vnet_direct"))
87+
if (!ctxt.action_type.compare("vnet_direct") && !ctxt.overlay_ip.isZero())
8888
{
8989
outbound_routing_attr.id = SAI_OUTBOUND_ROUTING_ENTRY_ATTR_OVERLAY_IP;
9090
copy(outbound_routing_attr.value.ipaddr, ctxt.overlay_ip);

0 commit comments

Comments
 (0)