From 2189c2fcd13aaf1331bcc1653ebda136e0570d24 Mon Sep 17 00:00:00 2001 From: Kamil Cudnik Date: Thu, 2 Apr 2020 16:59:13 +0200 Subject: [PATCH] [syncd] Pass correct switch RID when staring diag shell (#587) --- syncd/Syncd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)