mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 11:28:06 +00:00
Revert "bgpd: accept bgp link-state capability"
This reverts commit67fe40676e
. (cherry picked from commita4fcdc4e48
)
This commit is contained in:
parent
dc0da8df7e
commit
f98f17d83a
@ -1441,8 +1441,7 @@ int bgp_open_option_parse(struct peer *peer, uint16_t length,
|
||||
&& !peer->afc_nego[AFI_IP6][SAFI_MPLS_VPN]
|
||||
&& !peer->afc_nego[AFI_IP6][SAFI_ENCAP]
|
||||
&& !peer->afc_nego[AFI_IP6][SAFI_FLOWSPEC]
|
||||
&& !peer->afc_nego[AFI_L2VPN][SAFI_EVPN]
|
||||
&& !peer->afc_nego[AFI_LINKSTATE][SAFI_LINKSTATE]) {
|
||||
&& !peer->afc_nego[AFI_L2VPN][SAFI_EVPN]) {
|
||||
flog_err(EC_BGP_PKT_OPEN,
|
||||
"%s [Error] Configured AFI/SAFIs do not overlap with received MP capabilities",
|
||||
peer->host);
|
||||
|
@ -1896,8 +1896,6 @@ static int bgp_open_receive(struct peer_connection *connection,
|
||||
peer->afc[AFI_L2VPN][SAFI_EVPN];
|
||||
peer->afc_nego[AFI_IP6][SAFI_FLOWSPEC] =
|
||||
peer->afc[AFI_IP6][SAFI_FLOWSPEC];
|
||||
peer->afc_nego[AFI_LINKSTATE][SAFI_LINKSTATE] =
|
||||
peer->afc[AFI_LINKSTATE][SAFI_LINKSTATE];
|
||||
}
|
||||
|
||||
/* Verify valid local address present based on negotiated
|
||||
|
Loading…
Reference in New Issue
Block a user