diff --git a/orchagent/portsorch.cpp b/orchagent/portsorch.cpp index 14b6d17847..09caa28a5d 100644 --- a/orchagent/portsorch.cpp +++ b/orchagent/portsorch.cpp @@ -440,7 +440,8 @@ static bool isPathTracingSupported() } } } - else if (status == SAI_STATUS_ATTR_NOT_IMPLEMENTED_0) + else if (SAI_STATUS_IS_ATTR_NOT_SUPPORTED(status) || SAI_STATUS_IS_ATTR_NOT_IMPLEMENTED(status) + || status == SAI_STATUS_NOT_SUPPORTED || status == SAI_STATUS_NOT_IMPLEMENTED) { SWSS_LOG_INFO("Querying OBJECT_TYPE_LIST is not supported on this platform"); return false;