diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-17 10:12:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-17 10:12:30 +0200 |
commit | a45bf10d2939f0261f7dbe7ae5092cc1673ebf66 (patch) | |
tree | 6c607505f76d2883f0b658dfbbb7419ae9b03df0 /src/network/networkd-link.c | |
parent | 999a43f80ac2edfa3881fcf4c42aa1723945fe10 (diff) | |
parent | bd9a722196f7465d2f3104735b7ca9f62ae9a557 (diff) |
Merge pull request #3258 from keszybz/small-networkd-cleanup
Small networkd cleanup
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 4e3f62cf51..f3a79b0ec8 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -760,7 +760,7 @@ static int link_enter_set_routes(Link *link) { link_set_state(link, LINK_STATE_SETTING_ROUTES); LIST_FOREACH(routes, rt, link->network->static_routes) { - r = route_configure(rt, link, &route_handler); + r = route_configure(rt, link, route_handler); if (r < 0) { log_link_warning_errno(link, r, "Could not set routes: %m"); link_enter_failed(link); @@ -929,7 +929,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, false); + 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); |