summaryrefslogtreecommitdiff
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-21 08:50:34 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 12:23:39 -0500
commitda03883e1edcd191091482008bffa85f0941c2bf (patch)
tree429c7643db0f94c48e4c5d27d55c8002ef8386a5 /pimd/pim_zebra.c
parentd17612dd6ac42042859b991b8f23f0c99705d8f5 (diff)
pimd: Convert rpf_cache_refresh_delay_msec into pim_router struct
Move the rpf_cache_refresh_delay_msec into the pim_router since it should own the data. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 0524f74e3d..0753f99a9f 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -727,11 +727,11 @@ void sched_rpf_cache_refresh(struct pim_instance *pim)
if (PIM_DEBUG_ZEBRA) {
zlog_debug("%s: triggering %ld msec timer", __PRETTY_FUNCTION__,
- qpim_rpf_cache_refresh_delay_msec);
+ router->rpf_cache_refresh_delay_msec);
}
thread_add_timer_msec(router->master, on_rpf_cache_refresh, pim,
- qpim_rpf_cache_refresh_delay_msec,
+ router->rpf_cache_refresh_delay_msec,
&pim->rpf_cache_refresher);
}