summaryrefslogtreecommitdiff
path: root/src/network/networkd-route.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-15 20:10:33 +0200
committerTom Gundersen <teg@jklm.no>2014-05-16 14:52:02 +0200
commit3d3d425547a3f38473fcf8737b85dfebb630479d (patch)
tree0034bac90b43fe0164df743fd03b6deffbb6aebb /src/network/networkd-route.c
parent15a224e06c412672e2079656917bcab04ad80f02 (diff)
networkd: rename Address and Route list fields
Diffstat (limited to 'src/network/networkd-route.c')
-rw-r--r--src/network/networkd-route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c
index 8b020adba4..d0a04ecfee 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,