Skip to content

Commit 2189c2f

Browse files
authored
[syncd] Pass correct switch RID when staring diag shell (sonic-net#587)
1 parent 91792db commit 2189c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syncd/Syncd.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ sai_status_t Syncd::processOidCreate(
14761476

14771477
m_switches[switchVid] = std::make_shared<SaiSwitch>(switchVid, objectRid, m_client, m_translator, m_vendorSai);
14781478

1479-
startDiagShell(switchRid);
1479+
startDiagShell(objectRid);
14801480
}
14811481

14821482
if (objectType == SAI_OBJECT_TYPE_PORT)

0 commit comments

Comments
 (0)