Skip to content

Commit

Permalink
Merge pull request #4349 from donaldsharp/bgp_reason
Browse files Browse the repository at this point in the history
Bgp reason
  • Loading branch information
srimohans committed May 17, 2019
2 parents db95656 + 0dc8ee7 commit 02f4c3a
Show file tree
Hide file tree
Showing 5 changed files with 185 additions and 27 deletions.
12 changes: 6 additions & 6 deletions bgpd/bgp_evpn_vty.c
Expand Up @@ -681,7 +681,7 @@ static void show_vni_routes(struct bgp *bgp, struct bgpevpn *vpn, int type,
json_path = json_object_new_array();

if (detail)
route_vty_out_detail(vty, bgp, &rn->p, pi,
route_vty_out_detail(vty, bgp, rn, pi,
AFI_L2VPN, SAFI_EVPN,
json_path);
else
Expand Down Expand Up @@ -2090,7 +2090,7 @@ static void evpn_show_route_vni_multicast(struct vty *vty, struct bgp *bgp,
if (json)
json_path = json_object_new_array();

route_vty_out_detail(vty, bgp, &rn->p, pi, afi, safi,
route_vty_out_detail(vty, bgp, rn, pi, afi, safi,
json_path);

if (json)
Expand Down Expand Up @@ -2160,7 +2160,7 @@ static void evpn_show_route_vni_macip(struct vty *vty, struct bgp *bgp,
if (json)
json_path = json_object_new_array();

route_vty_out_detail(vty, bgp, &rn->p, pi, afi, safi,
route_vty_out_detail(vty, bgp, rn, pi, afi, safi,
json_path);

if (json)
Expand Down Expand Up @@ -2267,7 +2267,7 @@ static void evpn_show_route_rd_macip(struct vty *vty, struct bgp *bgp,
if (json)
json_path = json_object_new_array();

route_vty_out_detail(vty, bgp, &rn->p, pi, afi, safi,
route_vty_out_detail(vty, bgp, rn, pi, afi, safi,
json_path);

if (json)
Expand Down Expand Up @@ -2372,7 +2372,7 @@ static void evpn_show_route_rd(struct vty *vty, struct bgp *bgp,
if (json)
json_path = json_object_new_array();

route_vty_out_detail(vty, bgp, &rn->p, pi, afi, safi,
route_vty_out_detail(vty, bgp, rn, pi, afi, safi,
json_path);

if (json)
Expand Down Expand Up @@ -2522,7 +2522,7 @@ static void evpn_show_all_routes(struct vty *vty, struct bgp *bgp, int type,

if (detail) {
route_vty_out_detail(
vty, bgp, &rn->p, pi, AFI_L2VPN,
vty, bgp, rn, pi, AFI_L2VPN,
SAFI_EVPN, json_path);
} else
route_vty_out(vty, &rn->p, pi, 0,
Expand Down

0 comments on commit 02f4c3a

Please sign in to comment.