summaryrefslogtreecommitdiff
path: root/pimd/pim_ifchannel.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-10 19:47:07 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-06-10 19:48:20 -0400
commit03c2014c3d03d3ee4f0d3d9bb8ed394cf46b65a2 (patch)
tree6ab3ce29f9f848fd60a1a0376cacd9f201577c03 /pimd/pim_ifchannel.c
parent82e16a13e5f8da8460486f7eeff57c6235be71e0 (diff)
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_ifchannel.c')
-rw-r--r--pimd/pim_ifchannel.c4
1 files changed, 4 insertions, 0 deletions
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 */