summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.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-link.c
parent15a224e06c412672e2079656917bcab04ad80f02 (diff)
networkd: rename Address and Route list fields
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 8dd742a3fa..34b8d616bb 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -291,7 +291,7 @@ static int link_enter_set_routes(Link *link) {
log_debug_link(link, "setting routes");
- LIST_FOREACH(static_routes, rt, link->network->static_routes) {
+ LIST_FOREACH(routes, rt, link->network->static_routes) {
r = route_configure(rt, link, &route_handler);
if (r < 0) {
log_warning_link(link,
@@ -487,7 +487,7 @@ static int link_enter_set_addresses(Link *link) {
log_debug_link(link, "setting addresses");
- LIST_FOREACH(static_addresses, ad, link->network->static_addresses) {
+ LIST_FOREACH(addresses, ad, link->network->static_addresses) {
r = address_configure(ad, link, &address_handler);
if (r < 0) {
log_warning_link(link,