From: Philippe Guibert Date: Thu, 28 Mar 2019 06:40:20 +0000 (+0100) Subject: bfdd: do not insert obs entry in the list, once disabled X-Git-Tag: base_7.2~355^2~8 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3e60827a3bd7895fa8430b22816333a63e16ac07;p=mirror%2Ffrr.git 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 --- diff --git a/bfdd/ptm_adapter.c b/bfdd/ptm_adapter.c index 6d24c64206..a12a3c196b 100644 --- a/bfdd/ptm_adapter.c +++ b/bfdd/ptm_adapter.c @@ -607,7 +607,6 @@ static void bfdd_sessions_disable_interface(struct interface *ifp) /* Try to enable it. */ bfd_session_disable(bs); - TAILQ_INSERT_HEAD(&bglobal.bg_obslist, bso, bso_entry); } }