From 1d466122c1e5bbf25b613a1321a09fe3d803137a Mon Sep 17 00:00:00 2001 From: syuan Date: Fri, 28 May 2021 11:35:41 -0700 Subject: [PATCH] Don't add directed broadcast for inband Vlan --- orchagent/intfsorch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orchagent/intfsorch.cpp b/orchagent/intfsorch.cpp index 2029176f99..920a6d9146 100644 --- a/orchagent/intfsorch.cpp +++ b/orchagent/intfsorch.cpp @@ -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); }