diff --git a/vslib/src/MACsecManager.cpp b/vslib/src/MACsecManager.cpp index 71561fb036..825360febe 100644 --- a/vslib/src/MACsecManager.cpp +++ b/vslib/src/MACsecManager.cpp @@ -845,7 +845,10 @@ void MACsecManager::cleanup_macsec_device() const if (!exec("/sbin/ip macsec show", macsecInfos)) { - SWSS_LOG_THROW("Cannot show MACsec ports"); + // this is workaround, there was exception thrown here, and it probably + // suggest that, ip command is in place, but don't support "macsec" + SWSS_LOG_WARN("Cannot show MACsec ports"); + return; } // Here is an example of MACsec device informations