From 5be6fa9bf08ff31b79e779d2a139eb0d703e5e8b Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Tue, 23 Nov 2021 13:28:28 -0300 Subject: [PATCH] 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 --- bgpd/bgp_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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--; -- 2.39.5