2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00

- When using 'ignore client-updates;', the FQDN returned to the client

is no longer truncated to one octet.  [ISC-Bugs #20743]
This commit is contained in:
David Hankins
2009-12-17 20:04:35 +00:00
parent d130b8e86c
commit 928618dd72
2 changed files with 6 additions and 1 deletions

View File

@@ -589,7 +589,7 @@ ddns_updates(struct packet *packet, struct lease *lease, struct lease *old,
*/
memcpy(&bp->data[5], d1.data, d1.len);
if (!save_option_buffer(&fqdn_universe, options,
bp, &bp->data[5], 1,
bp, &bp->data[5], d1.len,
FQDN_FQDN, 0))
goto badfqdn;