diff options
| author | Russ White <russ@riw.us> | 2020-09-01 10:31:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-01 10:31:20 -0400 |
| commit | edec686a2a86d8e20af3f5514561d67d265340f6 (patch) | |
| tree | 8453599b7c89044298798b0610fa7fcb964755eb /lib/if.c | |
| parent | c2ce62e50244369cf9fb515ec24e40864876e214 (diff) | |
| parent | 734bf907cbb6c8a44af41168a38e2cb57a25b926 (diff) | |
Merge pull request #7016 from donaldsharp/pbr_vrf_is_burf
Pbr vrf is burf
Diffstat (limited to 'lib/if.c')
| -rw-r--r-- | lib/if.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -188,7 +188,9 @@ void if_destroy_via_zapi(struct interface *ifp) if (ifp_master.destroy_hook) (*ifp_master.destroy_hook)(ifp); + ifp->oldifindex = ifp->ifindex; if_set_index(ifp, IFINDEX_INTERNAL); + if (!ifp->configured) if_delete(&ifp); } |
