diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c index a32e87040a6..b28c2e08f20 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;