diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-12-11 15:53:36 +0100 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-12-11 15:58:25 +0100 |
commit | d4da6316c7ec016c8b89877fe081599bfb6f7f0c (patch) | |
tree | ecbea7c0e2a4df0b1aafbea2d8bdf846219706ef /pimd/pim_register.c | |
parent | pimd: move MSDP configuration and initialization (diff) | |
download | frr-d4da6316c7ec016c8b89877fe081599bfb6f7f0c.tar.xz frr-d4da6316c7ec016c8b89877fe081599bfb6f7f0c.zip |
pimd: move all MSDP code to its own place
Guard MSDP code to compile only on IPv4 and remove all MSDP code from
PIMv6.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_register.c')
-rw-r--r-- | pimd/pim_register.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_register.c b/pimd/pim_register.c index b149b5a2a..f776a59b7 100644 --- a/pimd/pim_register.c +++ b/pimd/pim_register.c @@ -709,7 +709,10 @@ int pim_register_recv(struct interface *ifp, pim_addr dest_addr, // inherited_olist(S,G,rpt) // This is taken care of by the kernel for us } + +#if PIM_IPV == 4 pim_upstream_msdp_reg_timer_start(upstream); +#endif /* PIM_IPV == 4 */ } else { if (PIM_DEBUG_PIM_REG) { if (!i_am_rp) |