-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: Default route gets withdrawn from peer when default-originate i…
…s configured When static default route is present in RIB and advertised to peer, configuring default-originate for that peer results in withdrawal of the route. Fix : Delete the adj-out entry for the previously advertised static default route without sending withdraw message and then advertise default route with the attribute BGP_ORIGIN_IGP Checks are added in bgp_adj_out_unset_subgroup() and subgroup_announce_table() to verify if default originate is enabled and suppress the explicit withdraw message which causes default route withdraw from the peer router. Signed-off-by: kssoman <somanks@gmail.com>
- Loading branch information
Showing
1 changed file
with
83 additions
and
10 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