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>
name = argv[idx_vrf]->arg;
bgp = bgp_lookup_by_name(name);
+ if (strmatch(name, VRF_DEFAULT_NAME))
+ bgp = bgp_get_default();
+
if (!bgp) {
if (!uj)
- vty_out(vty, "BGP instance for VRF %s not found", name);
+ vty_out(vty, "BGP instance for VRF %s not found\n",
+ name);
else {
json_object_string_add(json, "warning",
"BGP instance not found");