-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to IpAddr for identifying BGP session
Switch from SocketAddrPair to IpAddr for distinguishing between BGP sessions. A BGP peer is identified by the IP we are connecting to, and multiple TCP sessions via the same IP isn't something we're looking to support. So instead of trying to handle all the cases where the local SocketAddr may or may not be available, simplify things by using the configured peer IP which will always be present regardless of the peer's FSM State. Signed-off-by: Trey Aspelund <trey@oxidecomputer.com>
- Loading branch information
Showing
6 changed files
with
51 additions
and
108 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
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
Oops, something went wrong.