Skip to content

Commit 06c30ce

Browse files
committed
Address community review comments
Signed-off-by: Stephen Sun <[email protected]>
1 parent 6f8b8c9 commit 06c30ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

orchagent/switchorch.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,8 +1872,8 @@ void SwitchOrch::querySwitchPortMirrorCapability()
18721872
if (status != SAI_STATUS_SUCCESS)
18731873
{
18741874
SWSS_LOG_WARN("Could not query port ingress mirror capability %d", status);
1875-
fvVector.emplace_back(SWITCH_CAPABILITY_TABLE_PORT_INGRESS_MIRROR_CAPABLE, "false");
1876-
m_portIngressMirrorSupported = false;
1875+
fvVector.emplace_back(SWITCH_CAPABILITY_TABLE_PORT_INGRESS_MIRROR_CAPABLE, "true");
1876+
m_portIngressMirrorSupported = true;
18771877
}
18781878
else
18791879
{
@@ -1896,8 +1896,8 @@ void SwitchOrch::querySwitchPortMirrorCapability()
18961896
if (status != SAI_STATUS_SUCCESS)
18971897
{
18981898
SWSS_LOG_WARN("Could not query port egress mirror capability %d", status);
1899-
fvVector.emplace_back(SWITCH_CAPABILITY_TABLE_PORT_EGRESS_MIRROR_CAPABLE, "false");
1900-
m_portEgressMirrorSupported = false;
1899+
fvVector.emplace_back(SWITCH_CAPABILITY_TABLE_PORT_EGRESS_MIRROR_CAPABLE, "true");
1900+
m_portEgressMirrorSupported = true;
19011901
}
19021902
else
19031903
{

0 commit comments

Comments
 (0)