X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fnetwork%2Fnetworkd-route.c;h=d0a04ecfeebcd3388469cda35e22e083101c7b5d;hb=1324e3ae515719a93a94a8d8316644af6c780909;hp=8b020adba469a29739357262e8e362a8bae6b659;hpb=c6f7c917a1b494d4455800823472227463f87438;p=elogind.git diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c index 8b020adba..d0a04ecfe 100644 --- a/src/network/networkd-route.c +++ b/src/network/networkd-route.c @@ -52,7 +52,7 @@ int route_new_static(Network *network, unsigned section, Route **ret) { route->network = network; - LIST_PREPEND(static_routes, network->static_routes, route); + LIST_PREPEND(routes, network->static_routes, route); if (section) { route->section = section; @@ -86,7 +86,7 @@ void route_free(Route *route) { return; if (route->network) { - LIST_REMOVE(static_routes, route->network->static_routes, route); + LIST_REMOVE(routes, route->network->static_routes, route); if (route->section) hashmap_remove(route->network->routes_by_section,