mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 13:33:15 +00:00
Merge pull request #14300 from opensourcerouting/fix/set_role_as_undefined_when_capability_unset
bgpd: Unset role when receiving UNSET action for dynamic capability
This commit is contained in:
commit
15a5de185c
@ -2916,6 +2916,7 @@ static int bgp_capability_msg_parse(struct peer *peer, uint8_t *pnt,
|
|||||||
peer->remote_role = role;
|
peer->remote_role = role;
|
||||||
} else {
|
} else {
|
||||||
UNSET_FLAG(peer->cap, PEER_CAP_ROLE_RCV);
|
UNSET_FLAG(peer->cap, PEER_CAP_ROLE_RCV);
|
||||||
|
peer->remote_role = ROLE_UNDEFINED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user