Merge pull request #5324 from lkrishnamoor/advertise-routes-bug

bgpd: Bug fix in "show bgp l2vpn evpn ... advertised-routes'
This commit is contained in:
Donatas Abraitis 2019-11-15 14:08:43 +02:00 committed by GitHub
commit 7a7d97f4e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,9 @@ int show_adj_route_vpn(struct vty *vty, struct peer *peer,
if (bgp_node_get_bgp_path_info(rm) == NULL)
continue;
if (!attr)
continue;
if (header) {
if (use_json) {
json_object_int_add(