Merge pull request #4670 from chiragshah6/evpn_dev1

bgpd: fix show bgp l2vpn evpn route json
This commit is contained in:
Sri Mohana Singamsetty 2019-07-10 13:39:26 -07:00 committed by GitHub
commit 84f4f72638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2480,7 +2480,9 @@ static void evpn_show_all_routes(struct vty *vty, struct bgp *bgp, int type,
bgp_evpn_show_route_header(vty, bgp,
tbl_ver,
json);
vty_out(vty, "%19s Extended Community\n"
if (!json)
vty_out(vty,
"%19s Extended Community\n"
, " ");
header = 0;
}