diff options
Diffstat (limited to 'staticd')
-rw-r--r-- | staticd/static_routes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/staticd/static_routes.c b/staticd/static_routes.c index 3595cc564..ccbb98bd1 100644 --- a/staticd/static_routes.c +++ b/staticd/static_routes.c @@ -436,6 +436,8 @@ static void static_ifindex_update_nh(struct interface *ifp, bool up, nh->ifindex = IFINDEX_INTERNAL; } + /* Remove previously configured route if any. */ + static_uninstall_path(pn); static_install_path(pn); } |