summaryrefslogtreecommitdiff
path: root/src/network/networkd-address.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-address.c
parent15a224e06c412672e2079656917bcab04ad80f02 (diff)
networkd: rename Address and Route list fields
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r--src/network/networkd-address.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index 87688a5ae6..e6e3f8f067 100644
--- a/src/network/networkd-address.c
+++ b/src/network/networkd-address.c
@@ -59,7 +59,7 @@ int address_new_static(Network *network, unsigned section, Address **ret) {
address->network = network;
- LIST_PREPEND(static_addresses, network->static_addresses, address);
+ LIST_PREPEND(addresses, network->static_addresses, address);
if (section) {
address->section = section;
@@ -92,7 +92,7 @@ void address_free(Address *address) {
return;
if (address->network) {
- LIST_REMOVE(static_addresses, address->network->static_addresses, address);
+ LIST_REMOVE(addresses, address->network->static_addresses, address);
if (address->section)
hashmap_remove(address->network->addresses_by_section,