]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Actually respect RFC 6286 for router_id
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 17 Aug 2020 17:52:19 +0000 (13:52 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 17 Aug 2020 17:52:19 +0000 (13:52 -0400)
commitb5c2113e47f846d0c48fb4ef63e29bf96bd2fbe2
tree2a678fb44feba80501296963048d2d0201012751
parent93b35ca9f83b17e70d9e0dc5a3e879cd38f48179
bgpd: Actually respect RFC 6286 for router_id

The RFC states:
      The BGP Identifier is a 4-octet, unsigned, non-zero integer that
      should be unique within an AS.  The value of the BGP Identifier
      for a BGP speaker is determined on startup and is the same for
      every local interface and every BGP peer.

We were going slightly beyond this and ensuring that the address
was a specific range of addresses which is no longer relevant.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_packet.c