bfdd: do not insert obs entry in the list, once disabled

the bfd entry has not to be inserted in the obs list again.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
Philippe Guibert 2019-03-28 07:40:20 +01:00
parent b433551595
commit 3e60827a3b

View File

@ -607,7 +607,6 @@ static void bfdd_sessions_disable_interface(struct interface *ifp)
/* Try to enable it. */ /* Try to enable it. */
bfd_session_disable(bs); bfd_session_disable(bs);
TAILQ_INSERT_HEAD(&bglobal.bg_obslist, bso, bso_entry);
} }
} }