summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-09 13:34:37 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-11 18:17:33 -0500
commit1e39ff926f815d241721ed9486945cf599ef8c2f (patch)
tree07a5a287c71ed9516314c32507a5106d5ee0e2dd /src
parent502f1733e320b1339beafa949a41db3027c46ec6 (diff)
network: apply static addresses in specified order
https://bugs.freedesktop.org/show_bug.cgi?id=83270
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c
index a32e87040a..b28c2e08f2 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(addresses, network->static_addresses, address);
+ LIST_APPEND(addresses, network->static_addresses, address);
if (section) {
address->section = section;