From: Rafael Zalamena Date: Tue, 23 Nov 2021 16:28:28 +0000 (-0300) Subject: bgpd: fix 'show bgp detail json' output X-Git-Tag: pim6-testing-20220430~264^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5be6fa9bf08ff31b79e779d2a139eb0d703e5e8b;p=mirror%2Ffrr.git bgpd: fix 'show bgp detail json' output Include the BGP_SHOW_OPT_DETAIL flag in the 'detail' version of the command. Signed-off-by: Rafael Zalamena --- diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index ef8537f039..1860686381 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -14161,7 +14161,7 @@ DEFUN (show_ip_bgp_flowspec_routes_detailed, struct bgp *bgp = NULL; int idx = 0; bool uj = use_json(argc, argv); - uint16_t show_flags = 0; + uint16_t show_flags = BGP_SHOW_OPT_DETAIL; if (uj) { argc--;