Merge pull request #7379 from yuwata/follow-up-7309
networkd: small fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user