mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-24 18:10:45 +00:00
When monitoring a static route with BFD multi-hop, the source IP can be either configured or retrieved from NextHop-Tracking (NHT). After removing a configured source, the source is supposed to be retrieved from NHT but it remains to the previous value. This is problematic if the user desires to fix the configuration of a incorrect source IP. For example, theses two commands results in the incorrect state: > ip route 10.0.0.0/24 10.1.0.1 bfd multi-hop source 10.2.2.2 > ip route 10.0.0.0/24 10.1.0.1 bfd multi-hop When removing the source, BFD is unable to find the source from NHT via bfd_nht_update() were called. Force zebra to resend the information to BFD by unregistering and registering again NHT. The (...)/frr-nexthops/nexthop northbound apply_finish function will trigger a call to static_install_nexthop() that does a call to static_zebra_nht_register(nh, true); Fixes: |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| static_bfd.c | ||
| static_debug.c | ||
| static_debug.h | ||
| static_main.c | ||
| static_nb_config.c | ||
| static_nb.c | ||
| static_nb.h | ||
| static_nht.c | ||
| static_nht.h | ||
| static_routes.c | ||
| static_routes.h | ||
| static_vrf.c | ||
| static_vrf.h | ||
| static_vty.c | ||
| static_vty.h | ||
| static_zebra.c | ||
| static_zebra.h | ||
| subdir.am | ||