]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: fix 'show bgp detail json' output 10723/head
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 23 Nov 2021 16:28:28 +0000 (13:28 -0300)
committerRafael F. Zalamena <rzalamena@opensourcerouting.org>
Thu, 3 Mar 2022 21:26:03 +0000 (18:26 -0300)
Include the BGP_SHOW_OPT_DETAIL flag in the 'detail' version of the
command.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bgpd/bgp_route.c

index ef8537f03970e6918fc38faba803059631428827..1860686381e0b4be7488e2a36043cd4621763515 100644 (file)
@@ -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--;