network: apply static addresses in specified order

https://bugs.freedesktop.org/show_bug.cgi?id=83270
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2015-01-11 18:17:33 -05:00
parent 502f1733e3
commit 1e39ff926f
+1 -1
View File
@@ -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;