diff options
author | Tom Gundersen <teg@jklm.no> | 2015-10-01 17:31:14 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-10-21 02:35:31 +0200 |
commit | 6666907869fb3bc7fe6a6025540db5b887c7a78b (patch) | |
tree | 7ccee1a1cd8290c11de5a4362daafd8360dbc921 /src/network/networkd-link.c | |
parent | 36c32f6120a0c3fe19be5aeaa1926e179e8c29ba (diff) |
networkd: address - merge _change() into _configure()
These functions are almost entirely the same, so avoid duplication.
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 9661704f52..1ac76c4255 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -743,7 +743,7 @@ static int link_enter_set_addresses(Link *link) { link_set_state(link, LINK_STATE_SETTING_ADDRESSES); LIST_FOREACH(addresses, ad, link->network->static_addresses) { - r = address_configure(ad, link, &address_handler); + r = address_configure(ad, link, &address_handler, false); if (r < 0) { log_link_warning_errno(link, r, "Could not set addresses: %m"); link_enter_failed(link); |