diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 4533565b7f3e..34f45920d511 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -462,8 +462,9 @@ struct bgp_dest *bgp_path_info_reap(struct bgp_dest *dest, bgp_dest_set_bgp_path_info(dest, pi->next); bgp_path_info_mpath_dequeue(pi); - bgp_path_info_unlock(pi); + hook_call(bgp_snmp_update_stats, dest, pi, false); + bgp_path_info_unlock(pi); return bgp_dest_unlock_node(dest); }