diff --git a/syncd/Syncd.cpp b/syncd/Syncd.cpp index e6711c62cb42..1d080b042da6 100644 --- a/syncd/Syncd.cpp +++ b/syncd/Syncd.cpp @@ -1476,7 +1476,7 @@ sai_status_t Syncd::processOidCreate( m_switches[switchVid] = std::make_shared(switchVid, objectRid, m_client, m_translator, m_vendorSai); - startDiagShell(switchRid); + startDiagShell(objectRid); } if (objectType == SAI_OBJECT_TYPE_PORT)