From 05a35580c4e3511021d8fd95b0a8595670a1c063 Mon Sep 17 00:00:00 2001 From: Stepan Blyschak Date: Wed, 12 Dec 2018 14:40:27 +0000 Subject: [PATCH] [neighorch] return back original condition for port oper status Signed-off-by: Stepan Blyschak --- orchagent/neighorch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {