From: Donald Sharp Date: Mon, 10 Jun 2019 23:47:07 +0000 (-0400) Subject: pimd: Add a debug to indicate the ifchannel expiry timer has popped X-Git-Tag: base_7.2~215^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=03c2014c3d03d3ee4f0d3d9bb8ed394cf46b65a2;p=matthieu%2Ffrr.git pimd: Add a debug to indicate the ifchannel expiry timer has popped The pim ifchannel expiry timer was not setting any debug output. Let's add something in to help us understand what is going on. Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_ifchannel.c b/pimd/pim_ifchannel.c index 9b242e9be5..3fb3da8f44 100644 --- a/pimd/pim_ifchannel.c +++ b/pimd/pim_ifchannel.c @@ -613,6 +613,10 @@ static int on_ifjoin_expiry_timer(struct thread *t) ch = THREAD_ARG(t); + if (PIM_DEBUG_TRACE) + zlog_debug("%s: ifchannel %s expiry timer", __PRETTY_FUNCTION__, + ch->sg_str); + ifjoin_to_noinfo(ch, true); /* ch may have been deleted */