chiark / gitweb /
network: apply static addresses in specified order
[elogind.git] / src / network / networkd-address.c
index a32e87040a67b0549f66e3598cf6a275b0904266..b28c2e08f20fda7bcc25e77a87226398f274e7b6 100644 (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;