Skip to content

Commit

Permalink
[syncd] Pass correct switch RID when staring diag shell (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik authored Apr 2, 2020
1 parent 91792db commit 2189c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncd/Syncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@ sai_status_t Syncd::processOidCreate(

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

startDiagShell(switchRid);
startDiagShell(objectRid);
}

if (objectType == SAI_OBJECT_TYPE_PORT)
Expand Down

0 comments on commit 2189c2f

Please sign in to comment.