summaryrefslogtreecommitdiffstats
path: root/pimd/pim_bsm.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-01-14 16:55:12 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-02-14 06:45:03 +0100
commitc631920c151f0130986cb9051daa710bb0eb261b (patch)
treebc3351777ea0323aa17ebd2878516a31a29e75ad /pimd/pim_bsm.c
parentpim6d: prepare SSM/filter functions (diff)
downloadfrr-c631920c151f0130986cb9051daa710bb0eb261b.tar.xz
frr-c631920c151f0130986cb9051daa710bb0eb261b.zip
pim6d: IPv6-adjust various pim_sgaddr uses
Since `pim_sgaddr` is `pim_addr` now, that causes a whole lot of fallout anywhere S,G pairs are handled. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_bsm.c')
-rw-r--r--pimd/pim_bsm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/pimd/pim_bsm.c b/pimd/pim_bsm.c
index 421479047..afb4a6057 100644
--- a/pimd/pim_bsm.c
+++ b/pimd/pim_bsm.c
@@ -667,10 +667,7 @@ void pim_bsm_clear(struct pim_instance *pim)
struct prefix grp;
struct rp_info *trp_info;
- grp.family = AF_INET;
- grp.prefixlen = IPV4_MAX_BITLEN;
- grp.u.prefix4 = up->sg.grp;
-
+ pim_addr_to_prefix(&grp, up->sg.grp);
trp_info = pim_rp_find_match_group(pim, &grp);
/* RP not found for the group grp */