From 03c2014c3d03d3ee4f0d3d9bb8ed394cf46b65a2 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 10 Jun 2019 19:47:07 -0400 Subject: [PATCH] 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 --- pimd/pim_ifchannel.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.39.5