summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-11-11 08:05:54 +0100
committerLuca Boccassi <bluca@debian.org>2024-11-11 14:59:41 +0100
commit422e418ab9ab30e87179b4190c07a3d6cbe25e31 (patch)
tree5b492cce42d2dcf6e3a7e0874ded60f8f8c6b52d
parentnetwork: further rework for reconfiguring interfaces (#35059) (diff)
downloadsystemd-422e418ab9ab30e87179b4190c07a3d6cbe25e31.tar.xz
systemd-422e418ab9ab30e87179b4190c07a3d6cbe25e31.zip
network/route: update reference of the route from nexthop
Follow-up for 6f09031e4d04727cc72164fefcbc763e37556493. The function has been introduced by the commit, but it has never been used...
Diffstat (limited to '')
-rw-r--r--src/network/networkd-route.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c
index 54d8c9f51f..8317a5894c 100644
--- a/src/network/networkd-route.c
+++ b/src/network/networkd-route.c
@@ -1138,6 +1138,8 @@ static int process_route_one(
}
}
+ route_attach_to_nexthop(route);
+
route_enter_configured(route);
log_route_debug(route, is_new ? "Received new" : "Received remembered", manager);