From e2e35e39c196fe30bf1e3dd281547d91455cfb7a Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Wed, 29 Aug 2018 20:32:02 -0700 Subject: [PATCH] Fix bug: NeighOrch waits for router interface ready (#601) --- orchagent/neighorch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchagent/neighorch.cpp b/orchagent/neighorch.cpp index cdeba3ff3ff1..3df3f5f1ef34 100644 --- a/orchagent/neighorch.cpp +++ b/orchagent/neighorch.cpp @@ -313,7 +313,7 @@ void NeighOrch::doTask(Consumer &consumer) if (!p.m_rif_id) { SWSS_LOG_INFO("Router interface doesn't exist on %s", alias.c_str()); - it = consumer.m_toSync.erase(it); + it++; continue; }