From 3946bdcc814dd5d86e0881efb5e88002cf1eee26 Mon Sep 17 00:00:00 2001 From: Don Slice Date: Thu, 25 Jan 2018 17:45:40 +0000 Subject: [PATCH] bgpd: remove poorly located bestpath json output The bestpath multipath-relax setting was added to the output of "show ip bgp neighbor json" several months ago but this is not the correct place to display that information and this fix removes it from there. The multipath-relax setting was also added to the output of "show ip bgp sum json" which is fine. Signed-off-by: Don Slice --- bgpd/bgp_vty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index c98cf9c327..83842e5763 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -9847,7 +9847,6 @@ static int bgp_show_neighbor(struct vty *vty, struct bgp *bgp, } if (use_json) { - bgp_show_bestpath_json(bgp, json); vty_out(vty, "%s\n", json_object_to_json_string_ext( json, JSON_C_TO_STRING_PRETTY)); json_object_free(json); -- 2.39.5