libsystemd-network: unitialized return value
r will *usually* be set, but for some packets it might not. CID #1385308.
This commit is contained in:
parent
cac26f0bc8
commit
21a9905c7a
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue