mirror of
https://github.com/systemd/systemd.git
synced 2024-12-20 23:53:38 +08:00
sd-dhcp6-client: check return value
Checking the return values seems to have been forgotten in
ed6ee21953
This commit is contained in:
parent
72165d6191
commit
926695f1b5
@ -254,6 +254,8 @@ static int client_send_message(sd_dhcp6_client *client) {
|
||||
|
||||
r = dhcp6_option_append(&opt, &optlen,
|
||||
DHCP6_OPTION_RAPID_COMMIT, 0, NULL);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
r = dhcp6_option_append_ia(&opt, &optlen, &client->ia_na);
|
||||
if (r < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user