]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Retain the routes if we do a clear with N-bit set for Graceful-Restart
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 25 Mar 2025 15:20:56 +0000 (17:20 +0200)
committerton31337 <3352707+ton31337@users.noreply.github.com>
Fri, 28 Mar 2025 15:07:11 +0000 (15:07 +0000)
commit405e413e6acb2f9239078a14e451a3ff529a90ef
tree5c04eb5f427014ed4f3aa092ea4134f0a638a2f5
parent10d922b6316034a63c820e2c0e81c96dafaebff6
bgpd: Retain the routes if we do a clear with N-bit set for Graceful-Restart

On receiving side we already did the job correctly, but the peer which initiates
the clear does not retain the other's routes. This commit fixes that.

Fixes: 20170775da3a3c5d41aba714d0c1d5a29b0da61c ("bgpd: Activate Graceful-Restart when receiving CEASE/HOLDTIME notifications")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit b7c657d4e065f310fcf6454abae1a963c208c3b8)
bgpd/bgp_packet.c