summaryrefslogtreecommitdiffstats
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 56e4dba1..9764532b 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -447,13 +447,21 @@ static int on_rpf_cache_refresh(struct thread *t)
/* update kernel multicast forwarding cache (MFC) */
scan_oil();
+ ++qpim_rpf_cache_refresh_events;
+
return 0;
}
static void sched_rpf_cache_refresh()
{
- if (qpim_rpf_cache_refresher)
+ ++qpim_rpf_cache_refresh_requests;
+
+ if (qpim_rpf_cache_refresher) {
+ /* Refresh timer is already running */
return;
+ }
+
+ /* Start refresh timer */
if (PIM_DEBUG_ZEBRA) {
zlog_debug("%s: triggering %ld msec timer",