mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 17:36:56 +00:00
bgpd: Fix for Helper node doesn't set R-bit in OPEN message after the reload.
BGP Helper node doesn't set R-bit in OPEN message after the restart or reload of the BGP router. Signed-off-by: Biswajit Sadhu <sadhub@vmware.com>
This commit is contained in:
parent
d7b3cda6f7
commit
6102cb7fe4
@ -1332,9 +1332,7 @@ static void bgp_peer_send_gr_capability(struct stream *s, struct peer *peer,
|
||||
rcapp = stream_get_endp(s);
|
||||
stream_putc(s, 0);
|
||||
restart_time = peer->bgp->restart_time;
|
||||
if ((peer->bgp->t_startup) &&
|
||||
(CHECK_FLAG(peer->flags,
|
||||
PEER_FLAG_GRACEFUL_RESTART))) {
|
||||
if (peer->bgp->t_startup) {
|
||||
SET_FLAG(restart_time, RESTART_R_BIT);
|
||||
SET_FLAG(peer->cap, PEER_CAP_RESTART_BIT_ADV);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user