summaryrefslogtreecommitdiff
path: root/pimd/pim_nht.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_nht.c')
-rw-r--r--pimd/pim_nht.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c
index c8cc187305..5fc5d08d16 100644
--- a/pimd/pim_nht.c
+++ b/pimd/pim_nht.c
@@ -370,6 +370,12 @@ pim_update_upstream_nh (struct pim_nexthop_cache *pnc)
if (rpf_result == PIM_RPF_CHANGED)
{
+ struct pim_neighbor *nbr;
+
+ nbr = pim_neighbor_find (old.source_nexthop.interface,
+ old.rpf_addr.u.prefix4);
+ if (nbr)
+ pim_jp_agg_remove_group (nbr->upstream_jp_agg, up);
/*
* We have detected a case where we might need to rescan