summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2009-12-17 20:05:43 +0000
committerDavid Hankins <dhankins@isc.org>2009-12-17 20:05:43 +0000
commitbd3e6221b9718aaf14a551fa33d1487f44288081 (patch)
tree227988daf6a8afbe008021d3909fcbbd526543ea
parent1aaff8add2aa2c6e28624d449fc86d969fec7817 (diff)
downloadisc-dhcp-bd3e6221b9718aaf14a551fa33d1487f44288081.tar.gz
- When using 'ignore client-updates;', the FQDN returned to the client
is no longer truncated to one octet. [ISC-Bugs #20743]
-rw-r--r--RELNOTES5
-rw-r--r--server/ddns.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/RELNOTES b/RELNOTES
index cc6e417d..5f81d6a1 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -48,6 +48,11 @@ work on other platforms. Please report any problems and suggested fixes to
<dhcp-users@isc.org>.
+ Changes since 4.1.1rc1
+
+- When using 'ignore client-updates;', the FQDN returned to the client
+ is no longer truncated to one octet.
+
Changes since 4.1.1b3
- None.
diff --git a/server/ddns.c b/server/ddns.c
index 7e639220..2afdd5d6 100644
--- a/server/ddns.c
+++ b/server/ddns.c
@@ -723,7 +723,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;