]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: don't adv conditionally withdrawn routes
authorQuentin Young <qlyoung@nvidia.com>
Fri, 11 Jun 2021 23:01:42 +0000 (19:01 -0400)
committerMark Stapp <mstapp@nvidia.com>
Thu, 11 Aug 2022 14:58:17 +0000 (10:58 -0400)
commit0655090c6eaeeb3fe716910185eb0e85760ca670
treef24614b3507d03a9ce91f9b26125dbff6fd48dd7
parentf373ce6cfc8972a39fb074a4408134c235035e67
bgpd: don't adv conditionally withdrawn routes

If we have conditional advertisement enabled, and conditionally withdrew
some prefixes, and then we do a 'clear bgp', those routes were getting
advertised again, and then withdrawn the next time the conditional
advertisement scanner executed.

When we go to advertise check the prefix against the conditional
advertisement status so we don't do that.

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
bgpd/bgp_route.c