]> git.proxmox.com Git - mirror_frr.git/commitdiff
Revert "pim6d: IPv6-adjust BSM code"
authorsarita patra <saritap@vmware.com>
Wed, 27 Apr 2022 10:43:55 +0000 (03:43 -0700)
committerSarita Patra <saritap@vmware.com>
Thu, 7 Jul 2022 17:56:45 +0000 (10:56 -0700)
This reverts commit 809c11a9d87e0d12a5c3d3ca6906bc398a58de6c.

pimd/pim_bsm.c

index 6ea67fbefe31a93eacf6e6f1212f1b84583f9feb..db41a03f5aec39870fc4e6a291388cb92c4336ef 100644 (file)
@@ -1366,12 +1366,7 @@ int pim_bsm_process(struct interface *ifp, pim_sgaddr *sg, uint8_t *buf,
                }
        }
 
-#if PIM_IPV == 4
-       if (!pim_addr_cmp(sg->grp, qpim_all_pim_routers_addr))
-#else
-       if (0)
-#endif
-       {
+       if (!pim_addr_cmp(sg->grp, qpim_all_pim_routers_addr)) {
                /* Multicast BSMs are only accepted if source interface & IP
                 * match RPF towards the BSR's IP address, or they have
                 * no-forward set