summaryrefslogtreecommitdiffstats
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-01-14 17:47:14 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-02-14 06:45:03 +0100
commit9bb93fa04e58742f4afb97697381af69cddcabd4 (patch)
tree54d6553f70d37c4a638b44f3388c172d77882113 /pimd/pim_zebra.c
parentpim6d: IPv6-adjust various pim_sgaddr uses (diff)
downloadfrr-9bb93fa04e58742f4afb97697381af69cddcabd4.tar.xz
frr-9bb93fa04e58742f4afb97697381af69cddcabd4.zip
pim6d: IPv6-adjust neigh->source_addr
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 5f9273eb4..adb1ebed9 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -254,8 +254,8 @@ void pim_zebra_upstream_rpf_changed(struct pim_instance *pim,
if (old->source_nexthop.interface) {
struct pim_neighbor *nbr;
- nbr = pim_neighbor_find(old->source_nexthop.interface,
- old->rpf_addr.u.prefix4);
+ nbr = pim_neighbor_find_prefix(old->source_nexthop.interface,
+ &old->rpf_addr);
if (nbr)
pim_jp_agg_remove_group(nbr->upstream_jp_agg, up, nbr);