route->network = network;
- LIST_PREPEND(static_routes, network->static_routes, route);
+ LIST_PREPEND(routes, network->static_routes, route);
if (section) {
route->section = section;
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,