mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 06:34:44 +00:00
lib: Actually call nexthop_group_disable_vrf
When the nexthop-groups were added to FRR for some reason the call to nexthop_group_disable_vrf was not added although it was written. Add it in. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
70d400cefa
commit
0cbee799d5
@ -317,6 +317,14 @@ void vrf_disable(struct vrf *vrf)
|
||||
/* Till now, nothing to be done for the default VRF. */
|
||||
// Pending: see why this statement.
|
||||
|
||||
|
||||
/*
|
||||
* When the vrf is disabled let's
|
||||
* handle all nexthop-groups associated
|
||||
* with this vrf
|
||||
*/
|
||||
nexthop_group_disable_vrf(vrf);
|
||||
|
||||
if (vrf_master.vrf_disable_hook)
|
||||
(*vrf_master.vrf_disable_hook)(vrf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user