summaryrefslogtreecommitdiffstats
path: root/pimd/pim_main.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-13 21:41:33 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:09 +0100
commitdfe43e25d86672eef58044455be09a8c3840ca3a (patch)
tree032661dde90471e028044e04ec5033c432bc0868 /pimd/pim_main.c
parentpimd: Start noticing where upstream state came from (diff)
downloadfrr-dfe43e25d86672eef58044455be09a8c3840ca3a.tar.xz
frr-dfe43e25d86672eef58044455be09a8c3840ca3a.zip
PIM: prefix-list support for selecting RP
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: CCR-5173 Ticket: CM-12819
Diffstat (limited to 'pimd/pim_main.c')
-rw-r--r--pimd/pim_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c
index 53c7e092a..1ddc1eac5 100644
--- a/pimd/pim_main.c
+++ b/pimd/pim_main.c
@@ -45,6 +45,7 @@
#include "pim_signals.h"
#include "pim_zebra.h"
#include "pim_msdp.h"
+#include "pim_rp.h"
#ifdef PIM_ZCLIENT_DEBUG
extern int zclient_debug;
@@ -208,6 +209,9 @@ int main(int argc, char** argv, char** envp) {
vrf_init ();
access_list_init();
prefix_list_init ();
+ prefix_list_add_hook (pim_rp_prefix_list_update);
+ prefix_list_delete_hook (pim_rp_prefix_list_update);
+
pim_route_map_init ();
pim_init();
pim_msdp_init ();