mirror of
https://github.com/systemd/systemd.git
synced 2026-08-07 16:41:02 +00:00
libsystemd-network: unitialized return value
r will *usually* be set, but for some packets it might not. CID #1385308.
This commit is contained in:
@@ -973,7 +973,7 @@ static int client_parse_message(
|
||||
lease->pd.ia_pd.lifetime_t2 = htobe32(lt_t2);
|
||||
}
|
||||
|
||||
return r;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int client_receive_reply(sd_dhcp6_client *client, DHCP6Message *reply, size_t len) {
|
||||
|
||||
Reference in New Issue
Block a user