From a8d624683070cbb432e3556ccdafbf98235ee069 Mon Sep 17 00:00:00 2001 From: bingwang-ms <66248323+bingwang-ms@users.noreply.github.com> Date: Sun, 5 Sep 2021 18:42:57 -0700 Subject: [PATCH] Update acl type check logic (#1886) Signed-off-by: bingwang --- orchagent/aclorch.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/orchagent/aclorch.cpp b/orchagent/aclorch.cpp index 77fa2e130c51..c7cfe200a140 100644 --- a/orchagent/aclorch.cpp +++ b/orchagent/aclorch.cpp @@ -3685,6 +3685,11 @@ bool AclOrch::processAclTablePorts(string portList, AclTable &aclTable) bool AclOrch::isAclTableTypeUpdated(acl_table_type_t table_type, AclTable &t) { + if (m_isCombinedMirrorV6Table && (table_type == ACL_TABLE_MIRROR || table_type == ACL_TABLE_MIRRORV6)) + { + // ACL_TABLE_MIRRORV6 and ACL_TABLE_MIRROR should be treated as same type in combined scenario + return !(t.type == ACL_TABLE_MIRROR || t.type == ACL_TABLE_MIRRORV6); + } return (table_type != t.type); }