]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: remove poorly located bestpath json output
authorDon Slice <dslice@cumulusnetworks.com>
Thu, 25 Jan 2018 17:45:40 +0000 (17:45 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 25 Jan 2018 17:52:27 +0000 (17:52 +0000)
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 <dslice@cumulusnetworks.com>
bgpd/bgp_vty.c

index c98cf9c327d7723e2c1ce22368588b364253b96d..83842e5763da0248030c90e3e46dd7902c6debf6 100644 (file)
@@ -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);