mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
Merge pull request #12374 from sworleys/VRF-Disable
lib: disable vrf before terminating interfaces
This commit is contained in:
commit
f6ebf84d43
@ -528,6 +528,7 @@ void vrf_init(int (*create)(struct vrf *), int (*enable)(struct vrf *),
|
||||
static void vrf_terminate_single(struct vrf *vrf)
|
||||
{
|
||||
/* Clear configured flag and invoke delete. */
|
||||
vrf_disable(vrf);
|
||||
UNSET_FLAG(vrf->status, VRF_CONFIGURED);
|
||||
if_terminate(vrf);
|
||||
vrf_delete(vrf);
|
||||
|
Loading…
Reference in New Issue
Block a user