Skip to content

Commit

Permalink
Don't add directed broadcast for inband Vlan
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmanman committed May 28, 2021
1 parent 9aff9c2 commit 1d46612
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orchagent/intfsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,8 @@ bool IntfsOrch::setIntf(const string& alias, sai_object_id_t vrf_id, const IpPre
}
}

if (port.m_type == Port::VLAN)
// Directed boardcast is not required by Inband Vlan.
if (port.m_type == Port::VLAN && !gPortsOrch->isInbandPort(alias))
{
addDirectedBroadcast(port, *ip_prefix);
}
Expand Down

0 comments on commit 1d46612

Please sign in to comment.