From bd79cc028a38b23a1aebc821f451a2ef39b5e632 Mon Sep 17 00:00:00 2001 From: sarita patra Date: Wed, 27 Apr 2022 03:43:55 -0700 Subject: [PATCH] Revert "pim6d: IPv6-adjust BSM code" This reverts commit 809c11a9d87e0d12a5c3d3ca6906bc398a58de6c. --- pimd/pim_bsm.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c index 7592f162cc..69cae20511 100644 --- a/pimd/pim_bsm.c +++ b/pimd/pim_bsm.c @@ -1356,12 +1356,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 -- 2.39.5