Merge pull request #7379 from yuwata/follow-up-7309

networkd: small fixes
This commit is contained in:
Lennart Poettering
2017-11-19 19:47:24 +01:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -272,9 +272,8 @@ int dhcp6_configure(Link *link) {
goto error;
r = dhcp6_set_hostname(client, link);
log_link_warning(link, "dhcp6_set_hostname: %d", r);
if (r < 0)
return r;
goto error;
r = sd_dhcp6_client_set_ifindex(client, link->ifindex);
if (r < 0)
+1 -1
View File
@@ -2774,7 +2774,7 @@ int link_initialized(Link *link, struct udev_device *device) {
return r;
r = sd_netlink_call_async(link->manager->rtnl, req,
link_initialized_and_synced, link, 0, NULL);
link_initialized_and_synced, link, 0, NULL);
if (r < 0)
return r;