diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-25 08:55:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-25 08:55:15 +0200 |
| commit | 85db584ff85c46cc3c5a33fdf548e7667f915c96 (patch) | |
| tree | a467a6bb10665982cc6fcd5a9769acc1edac16d5 | |
| parent | 15ca0cb7f29a5e0161530c36683f4dcf419ae8be (diff) | |
| parent | 02b684b8f74d1f2e6f333c1b8ad70b8f6a8010b1 (diff) | |
Merge pull request #12382 from FRRouting/mergify/bp/stable/8.4/pr-12374
lib: disable vrf before terminating interfaces (backport #12374)
| -rw-r--r-- | lib/vrf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |
