]> git.proxmox.com Git - mirror_frr.git/commit
staticd: fix bug on route reinstallation
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 28 Nov 2022 19:44:37 +0000 (16:44 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 13 Jan 2023 18:32:12 +0000 (15:32 -0300)
commit4fd9906bcfe5f5001c6fc092c4d12c299929dcdf
treeb93ed6c9a01a49b54c4b87f5b207c51a5be4d3f6
parentd8c78a8db541868e709d56b715d08be94cf6be59
staticd: fix bug on route reinstallation

When configuring a route with multiple next hops on boot and the
interface is missing the route never shows up (even after interface is
properly learned).

Fix: force route clean up by uninstalling it and putting it back
entirely instead of just updating the missing next hop.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
staticd/static_routes.c