1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

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-09 13:34:37 -05:00
parent 502f1733e3
commit 1e39ff926f

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;