diff options
author | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2006-11-28 19:50:46 +0000 |
---|---|---|
committer | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2006-11-28 19:50:46 +0000 |
commit | 8d45210e7c9e221b519d975825cb83aea5ebe47e (patch) | |
tree | 62629c7693b24c3b4a8e37eed7abe51e5695417d /init | |
parent | 435408866187f3bc3c49b26f11bc83c374e55dd5 (diff) |
[bgpd] Fix bug where a deleted route that was quickly re-added was being lost
2006-11-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* bgp_route.c: (bgp_info_restore) New function that undoes
the effects of a previous call to bgp_info_delete. This is
used when a route is deleted and quickly re-added before the
deletion has been processed.
(bgp_static_update_rsclient, bgp_static_update_main,
bgp_redistribute_add) Check whether a pre-existing route
has the BGP_INFO_REMOVED set, and, if so, we need to call
bgp_info_restore to resurrect it.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions