mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:15:47 +00:00
bgpd: Inherit capability software-version
flag from the peer-group
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
6486afe8d5
commit
9c9f9ce3c1
@ -1542,7 +1542,7 @@ struct peer *peer_new(struct bgp *bgp)
|
||||
peer_flag_set(peer, PEER_FLAG_ENFORCE_FIRST_AS);
|
||||
|
||||
if (CHECK_FLAG(bgp->flags, BGP_FLAG_SOFT_VERSION_CAPABILITY))
|
||||
SET_FLAG(peer->flags, PEER_FLAG_CAPABILITY_SOFT_VERSION);
|
||||
peer_flag_set(peer, PEER_FLAG_CAPABILITY_SOFT_VERSION);
|
||||
|
||||
if (CHECK_FLAG(bgp->flags, BGP_FLAG_DYNAMIC_CAPABILITY))
|
||||
SET_FLAG(peer->flags, PEER_FLAG_DYNAMIC_CAPABILITY);
|
||||
|
Loading…
Reference in New Issue
Block a user