mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 11:48:50 +00:00
bgpd: Unset role when receiving UNSET action for dynamic capability
Capability was unset, but forgot to unset the role.
Fixes: 5ad080d37a
("bgpd: Handle Role capability via dynamic capabilities for SET/UNSET properly")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
497584ac48
commit
1f70ceae0a
@ -2917,6 +2917,7 @@ static int bgp_capability_msg_parse(struct peer *peer, uint8_t *pnt,
|
||||
peer->remote_role = role;
|
||||
} else {
|
||||
UNSET_FLAG(peer->cap, PEER_CAP_ROLE_RCV);
|
||||
peer->remote_role = ROLE_UNDEFINED;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user