diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-14 17:47:14 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2022-02-14 06:45:03 +0100 |
commit | 9bb93fa04e58742f4afb97697381af69cddcabd4 (patch) | |
tree | 54d6553f70d37c4a638b44f3388c172d77882113 /pimd/pim_zebra.c | |
parent | pim6d: IPv6-adjust various pim_sgaddr uses (diff) | |
download | frr-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.c | 4 |
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); |