diff options
| author | Russ White <russ@riw.us> | 2025-02-02 12:41:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 12:41:12 -0500 |
| commit | 593e3e199a2e5ba7e5aaba592503a45725ace39c (patch) | |
| tree | c8f3d955a038c9d45399f9302da89c508724a71c | |
| parent | 91ebab35f2e88c3eb5664a7266b152ed7bcc283b (diff) | |
| parent | f373f41445ee30cab16fbd60cb2b7202d801bf12 (diff) | |
Merge pull request #17947 from opensourcerouting/fix/bgp_disable_vrf
bgpd: Do not ignore auto generated VRF instances when deleting
| -rw-r--r-- | bgpd/bgp_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 9ca20c949a..9dbef791b0 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -327,7 +327,7 @@ static int bgp_vrf_disable(struct vrf *vrf) if (BGP_DEBUG(zebra, ZEBRA)) zlog_debug("VRF disable %s id %d", vrf->name, vrf->vrf_id); - bgp = bgp_lookup_by_name(vrf->name); + bgp = bgp_lookup_by_name_filter(vrf->name, false); if (bgp) { vpn_leak_zebra_vrf_label_withdraw(bgp, AFI_IP); |
