Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: fix distance for aggregate route
bgp aggregate address installs route with self peer which can have peer->su of unspecifed type. bgp_distance_apply bailed out as it fails to parse sockunion2hostprefix for af type unspec. config: address-family ipv4 unicast aggregate-address 50.1.0.0/16 summary-only Testing Done: Before: B>* 50.1.0.0/16 [20/0] unreachable (blackhole), weight 1, 00:00:02 After: B>* 50.1.0.0/16 [200/0] unreachable (blackhole), weight 1, 00:01:28 Signed-off-by: Chirag Shah <chirag@nvidia.com>
- Loading branch information
1 parent
f1ca1dd
commit 801bb99
Showing
2 changed files
with
8 additions
and
5 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
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