mirror of
https://github.com/systemd/systemd.git
synced 2025-01-05 13:18:06 +03:00
dhcp-server: always save the ACKed lease address (#5281)
This commit is contained in:
parent
4997dd91fb
commit
28c78e07aa
@ -857,7 +857,7 @@ int dhcp_server_handle_message(sd_dhcp_server *server, DHCPMessage *message,
|
||||
|
||||
if (!existing_lease) {
|
||||
lease = new0(DHCPLease, 1);
|
||||
lease->address = req->requested_ip;
|
||||
lease->address = address;
|
||||
lease->client_id.data = memdup(req->client_id.data,
|
||||
req->client_id.length);
|
||||
if (!lease->client_id.data) {
|
||||
|
Loading…
Reference in New Issue
Block a user