-
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: fix loc-rib open message should use router-id
When forging BMP open message, the BGP router-id of tx open message of the BMP LOC-RIB peer up message is always set to 0.0.0.0, whatever the configured value of 'bgp router-id'. Actually, when forging a peer up LOC-RIB message, the BGP router-id value should be taken from the main BGP instance, and not from the peer bgp identifier. Fix this by refreshing the router-id whenever a peer up loc-rib message should be sent. Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information
1 parent
a97be61
commit 4d11ff3
Showing
3 changed files
with
20 additions
and
8 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
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