]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix wrong check for default VRF 11024/head
authoranlan_cs <vic.lan@pica8.com>
Wed, 13 Apr 2022 08:51:38 +0000 (04:51 -0400)
committeranlan_cs <vic.lan@pica8.com>
Wed, 13 Apr 2022 09:00:33 +0000 (05:00 -0400)
commit4a5271a56ba8991224e94b2c5877a40d10241fcb
tree19d97d613c90e1cb4cbd061bb1380b1db50fa5d0
parent695c24c3b0fed1e3dc5d0ccd6bc91cc98301ee89
bgpd: fix wrong check for default VRF

Currently the warning is wrong:
```
root#show bgp vrf default vni
BGP instance for VRF default not foundACC1(config)#
```

Two changes for "show bgp vrf VRFNAME vni [json]":
- Correct the default VRF check
- Add newline for warning

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bgpd/bgp_evpn_vty.c