summaryrefslogtreecommitdiffstats
path: root/pimd/pimd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-08-05 15:07:46 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:05 +0100
commit75a26779e8f25e9868f1f33e0fd35677f17c978b (patch)
tree095795d5b355c285bc7c1683c2ca2b072255cfec /pimd/pimd.c
parentpimd: Fix some null register issues (diff)
downloadfrr-75a26779e8f25e9868f1f33e0fd35677f17c978b.tar.xz
frr-75a26779e8f25e9868f1f33e0fd35677f17c978b.zip
pimd: Refactor RP code and start the ability to handle ranges
Refactor the qpim_rp into pim_rp.c so that the global data is protected. This will allow us to easily add the group ranges. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r--pimd/pimd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index d4a0250a0..709c36713 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -69,7 +69,6 @@ int64_t qpim_mroute_add_last = 0;
int64_t qpim_mroute_del_events = 0;
int64_t qpim_mroute_del_last = 0;
struct list *qpim_static_route_list = NULL;
-struct pim_rpf qpim_rp = { .rpf_addr.s_addr = INADDR_NONE };
int32_t qpim_register_suppress_time = PIM_REGISTER_SUPPRESSION_TIME_DEFAULT;
int32_t qpim_register_probe_time = PIM_REGISTER_PROBE_TIME_DEFAULT;