]> 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)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 26 Mar 2025 20:25:44 +0000 (22:25 +0200)
commit0b19d6451e56f0e5cce7717d8bdb69c156ad0906
tree726b79a7cce2153950c6cb9b0a16801e84ef766c
parent2f6fb565fc84b98ce1cd88c3b366f0ae18ac423b
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>
bgpd/bgp_packet.c