summaryrefslogtreecommitdiff
path: root/pimd/pimd.c
diff options
context:
space:
mode:
authorNathan Bahr <nbahr@atcorp.com>2024-11-01 19:14:47 +0000
committerNathan Bahr <nbahr@atcorp.com>2024-11-19 22:33:11 +0000
commitb6aa71b59bfed4b7c706cd2d6bbf77baaaf7d084 (patch)
treec8872da0548913882aa25d53bad14598fbf7a851 /pimd/pimd.c
parenta060c72530b96181ca736e8c42257b558e1b8dd3 (diff)
pimd: Implement autorp mapping agent
Fully flushed out the AutoRP implementation now with the AutoRP mapping agent. This touched most of AutoRP in order to have common reuse of containers for each section of AutoRP operation (Candidate RP announcement, Mapping agent, Discovery). Many debugs had guards added and many more debug logs added. Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r--pimd/pimd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index db61974800..a390378a5a 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -35,6 +35,7 @@
#include "pim_zlookup.h"
#include "pim_zebra.h"
#include "pim_mlag.h"
+#include "pim_autorp.h"
#if MAXVIFS > 256
CPP_NOTICE("Work needs to be done to make this work properly via the pim mroute socket\n");
@@ -70,6 +71,9 @@ void pim_prefix_list_update(struct prefix_list *plist)
pim_rp_prefix_list_update(pim, plist);
pim_ssm_prefix_list_update(pim, plist);
pim_upstream_spt_prefix_list_update(pim, plist);
+#if PIM_IPV == 4
+ pim_autorp_prefix_list_update(pim, plist);
+#endif
}
}