]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network/route: update reference of the route from nexthop
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Nov 2024 07:05:54 +0000 (16:05 +0900)
committerLuca Boccassi <bluca@debian.org>
Mon, 11 Nov 2024 13:59:41 +0000 (13:59 +0000)
Follow-up for 6f09031e4d04727cc72164fefcbc763e37556493.

The function has been introduced by the commit, but it has never been used...

src/network/networkd-route.c

index 54d8c9f51f54401dfa87070e430def8113a33c6f..8317a5894c1b42e5303819011842eb24e98cb6e5 100644 (file)
@@ -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);