diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2022-02-26 14:03:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 14:03:06 +0100 |
commit | 3bf65aa1ae5fb69bf97c6dc54775a25c13cc4c59 (patch) | |
tree | 4ea94e01cadb3d0209ad8abdd7fd584b26c55918 /pimd/pim_bsm.c | |
parent | Merge pull request #10658 from proelbtn/fix/srv6-l3vpn-transposition (diff) | |
parent | pim6d: remove `PIM_V6_TEMP_BREAK` (diff) | |
download | frr-3bf65aa1ae5fb69bf97c6dc54775a25c13cc4c59.tar.xz frr-3bf65aa1ae5fb69bf97c6dc54775a25c13cc4c59.zip |
Merge pull request #10400 from opensourcerouting/pim6-compilefix
pim6d: get running with ipv6 types throughout
Diffstat (limited to 'pimd/pim_bsm.c')
-rw-r--r-- | pimd/pim_bsm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c index 5901ae343..8d65901b5 100644 --- a/pimd/pim_bsm.c +++ b/pimd/pim_bsm.c @@ -1371,7 +1371,12 @@ int pim_bsm_process(struct interface *ifp, struct ip *ip_hdr, uint8_t *buf, } } - if (ip_hdr->ip_dst.s_addr == qpim_all_pim_routers_addr.s_addr) { +#if PIM_IPV == 4 + if (ip_hdr->ip_dst.s_addr == qpim_all_pim_routers_addr.s_addr) +#else + if (0) +#endif + { /* Multicast BSMs are only accepted if source interface & IP * match RPF towards the BSR's IP address, or they have * no-forward set |