mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 06:34:51 +00:00
Merge pull request #6929 from donaldsharp/bgp_relax_do_not_do_it
bgpd: Actually respect RFC 6286 for router_id
This commit is contained in:
commit
48f8e0fdde
@ -1214,7 +1214,6 @@ static int bgp_open_receive(struct peer *peer, bgp_size_t size)
|
||||
* "Bad BGP Identifier".
|
||||
*/
|
||||
if (remote_id.s_addr == INADDR_ANY
|
||||
|| IPV4_CLASS_DE(ntohl(remote_id.s_addr))
|
||||
|| (peer->sort == BGP_PEER_IBGP
|
||||
&& ntohl(peer->local_id.s_addr) == ntohl(remote_id.s_addr))) {
|
||||
if (bgp_debug_neighbor_events(peer))
|
||||
|
Loading…
Reference in New Issue
Block a user