summaryrefslogtreecommitdiff
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-08-23 16:22:14 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-21 20:26:07 -0500
commit00d07c6fda1ef744eb2e7481beeb85aa31bf61d6 (patch)
treefd1260d98f5cc3a062498adc39c6bb03806dcdc6 /pimd/pim_zebra.c
parentbb6e291f3bab84ae623d6c4c05de2bc7eba837c9 (diff)
pimd: Add "show ip pim rp-info" command
List the RP information we have configured. Fix bug where we were not properly initializing some code Ticket: CM-12617 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index b171fbb702..aa1121c8a2 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -506,6 +506,7 @@ static int on_rpf_cache_refresh(struct thread *t)
qpim_rpf_cache_refresh_last = pim_time_monotonic_sec();
++qpim_rpf_cache_refresh_events;
+ pim_rp_setup ();
return 0;
}
@@ -659,6 +660,7 @@ static int redist_read_ipv4_route(int command, struct zclient *zclient,
sched_rpf_cache_refresh();
+ pim_rp_setup ();
return 0;
}