mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 07:51:29 +00:00
Merge pull request #833 from dslicenc/cm16779-bgp-startup-ll
bgpd: fix peer startup for labeled-unicast if linklocal address not f…
This commit is contained in:
commit
04ce08ecd1
@ -1151,6 +1151,7 @@ static int bgp_open_receive(struct peer *peer, bgp_size_t size)
|
||||
/* Verify valid local address present based on negotiated
|
||||
* address-families. */
|
||||
if (peer->afc_nego[AFI_IP][SAFI_UNICAST]
|
||||
|| peer->afc_nego[AFI_IP][SAFI_LABELED_UNICAST]
|
||||
|| peer->afc_nego[AFI_IP][SAFI_MULTICAST]
|
||||
|| peer->afc_nego[AFI_IP][SAFI_MPLS_VPN]
|
||||
|| peer->afc_nego[AFI_IP][SAFI_ENCAP]) {
|
||||
@ -1166,6 +1167,7 @@ static int bgp_open_receive(struct peer *peer, bgp_size_t size)
|
||||
}
|
||||
}
|
||||
if (peer->afc_nego[AFI_IP6][SAFI_UNICAST]
|
||||
|| peer->afc_nego[AFI_IP6][SAFI_LABELED_UNICAST]
|
||||
|| peer->afc_nego[AFI_IP6][SAFI_MULTICAST]
|
||||
|| peer->afc_nego[AFI_IP6][SAFI_MPLS_VPN]
|
||||
|| peer->afc_nego[AFI_IP6][SAFI_ENCAP]) {
|
||||
|
Loading…
Reference in New Issue
Block a user