forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: Fixed crashes in bgp received-routes brief and detail json
BGP was crashing when show bgp vrf default ipv4 unicast neighbors <ADDR> received-routes [detail] json was being executed. Crash is due to the following reasons: During execution of detail JSON output of the above mentioned show command, bpi (bgp_path_info) variable in show_adj_route() was passed to bgp_show_path_info() without setting rest of the fields to 0 in case the route was filtered, which caused BGP to crash route_vty_out_detail_header() Ticket:#3819820 Testing Done: Manual and test-suite run
- Loading branch information
1 parent
47a3e7b
commit 330c4ad
Showing
1 changed file
with
5 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters