diff --git a/orchagent/neighorch.cpp b/orchagent/neighorch.cpp index addcfa800d27..b8d2aee13fdc 100644 --- a/orchagent/neighorch.cpp +++ b/orchagent/neighorch.cpp @@ -90,7 +90,7 @@ bool NeighOrch::addNextHop(IpAddress ipAddress, string alias) // flag Should be set on it. // This scenario may happen under race condition where buffered neighbor event // is processed after incoming port is down. - if (p.m_oper_status != SAI_PORT_OPER_STATUS_UP) + if (p.m_oper_status == SAI_PORT_OPER_STATUS_DOWN) { if (setNextHopFlag(ipAddress, NHFLAGS_IFDOWN) == false) {