mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 22:10:19 +00:00
Revert "bgpd: accept bgp link-state capability"
This reverts commit 67fe40676e
.
This commit is contained in:
parent
bbe3163a1b
commit
a4fcdc4e48
@ -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