Fix how the rde_eval_all flag is tracked. Make sure it is correctly set
authorclaudio <claudio@openbsd.org>
Thu, 27 May 2021 08:38:42 +0000 (08:38 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 27 May 2021 08:38:42 +0000 (08:38 +0000)
commit2a36960f58919672e88bb3df2ba8f9396628eb6e
treec8870fe326ed885b00b34e87b3f5abda50d1edee
parentb6faf4c975a75f9f1c544ad098500c72aaf7696f
Fix how the rde_eval_all flag is tracked. Make sure it is correctly set
when a new peer shows up or during a reload. Tracking this during runtime
just does not work reliably (especially  for reloads).
Problem noticed and fix tested by Pier Carlo Chiodi
usr.sbin/bgpd/rde.c