]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Handle Graceful-Restart capability with dynamic capability
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 29 Aug 2023 07:02:14 +0000 (10:02 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 30 Aug 2023 14:18:53 +0000 (17:18 +0300)
commit6cc60e303f3766df0863b820d531cfe4fdf27805
treeca498a889290a7faa228a4fec0714aba81888d9c
parent15a5de185c7ec5966b7505516c1625d9e8cd7ab5
bgpd: Handle Graceful-Restart capability with dynamic capability

Graceful-Restart restart time is exchanged using OPEN messages. In order to
reduce restart time before doing an actual graceful restart, it might be useful
to increase the time, but this is not possible without resetting the session.

With this change, it's possible to send dynamic capability with a new value, and
GR will respect a new reset time value.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_packet.c
bgpd/bgp_vty.c