]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Add a debug to indicate the ifchannel expiry timer has popped 4495/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 10 Jun 2019 23:47:07 +0000 (19:47 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 10 Jun 2019 23:48:20 +0000 (19:48 -0400)
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>
pimd/pim_ifchannel.c

index 9b242e9be5fdf572b6097a425879de3ed6acad91..3fb3da8f4450a274ebe9ddcc760e6da5d1238c67 100644 (file)
@@ -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 */