summaryrefslogtreecommitdiff
path: root/pceplib/pcep_utils_queue.c
diff options
context:
space:
mode:
authorRyo Nakano <ryo.z.nakano@gmail.com>2023-09-01 11:44:03 +0900
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-09-01 13:39:57 +0000
commita0906c4020aa8b81051a65c18b284a7b78146f96 (patch)
treeea20a9b761b7ce42a6086919dcb897dbeaa83241 /pceplib/pcep_utils_queue.c
parentfda0db038d47f2a5e905ad6f27ab77e91da8a1b5 (diff)
bgpd: Fix `show bgp all rpki notfound`
The command "show bgp all rpki notfound" includes not only RPKI notfound routes but also RPKI valid and invalid routes in its results. Fix the code to display only RPKI notfound routes. Old output: ``` frr# show bgp all rpki notfound For address family: IPv4 Unicast BGP table version is 0, local router ID is 10.0.0.1, vrf id 0 Default local pref 100, local AS 64512 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path N x.x.x.0/18 a.a.a.a 100 0 64513 i V y.y.y.0/19 a.a.a.a 200 0 64513 i I z.z.z.0/16 a.a.a.a 10 0 64513 i Displayed 3 routes and 3 total paths ``` New output: ``` frr# show bgp all rpki notfound For address family: IPv4 Unicast BGP table version is 0, local router ID is 10.0.0.1, vrf id 0 Default local pref 100, local AS 64512 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path N x.x.x.0/18 a.a.a.a 100 0 64513 i Displayed 1 routes and 3 total paths ``` Signed-off-by: Ryo Nakano <ryo.z.nakano@gmail.com> (cherry picked from commit 65d6b56a063006c38ee695e711be3b3e78fb1745)
Diffstat (limited to 'pceplib/pcep_utils_queue.c')
0 files changed, 0 insertions, 0 deletions