]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_network.c
BGP: Fix MD5 authentication for unnumbered neighbors
authorvivek <vivek@cumulusnetworks.com>
Sat, 29 Aug 2015 23:10:12 +0000 (16:10 -0700)
committervivek <vivek@cumulusnetworks.com>
Sat, 29 Aug 2015 23:10:12 +0000 (16:10 -0700)
commit89ca90fad972362d622c50883dc0d36314d002e5
treef7883c76b66a2d855a3a3eab0357b5e30768cdcb
parent57e9ee0a9430e0fa0c7fe0751eaf0129abb7fa9c
BGP: Fix MD5 authentication for unnumbered neighbors

Ticket: CM-6369
Reviewed By: CCR-3318
Testing Done: Manual testing of various password scenarios.

This is a port of patch bgpd-unnumbered-nbr-fix-password.patch from
2.5-br.

In the case of BGP unnumbered, the peer IP address is derived and not
explicitly configured. If there is a password configured for the peer,
it can be set on the listen socket only after the IP address has been
derived and needs to be cleared when the IP address goes away.
bgpd/bgp_network.c
bgpd/bgp_network.h
bgpd/bgpd.c