]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- When using 'ignore client-updates;', the FQDN returned to the client
authorDavid Hankins <dhankins@isc.org>
Thu, 17 Dec 2009 20:04:35 +0000 (20:04 +0000)
committerDavid Hankins <dhankins@isc.org>
Thu, 17 Dec 2009 20:04:35 +0000 (20:04 +0000)
  is no longer truncated to one octet.  [ISC-Bugs #20743]

RELNOTES
server/ddns.c

index 09215a472a3cef4b85bf5fdeeee70e531fca2a8a..453feb292275768395699cbd4c4b49d66ee16009 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -40,6 +40,11 @@ work on other platforms. Please report any problems and suggested fixes to
 <dhcp-users@isc.org>.
 
 
+                        Changes since 4.2.0a1
+
+- When using 'ignore client-updates;', the FQDN returned to the client
+  is no longer truncated to one octet.
+
                        Changes since 4.1.0 (new features)
 
 - Failover port configuration can now be left to defaults (port 647) as
index d925083aae29cd7c1ff1205b0854bb95ea85f753..7ea409a42f1b8b42d793aec1b11e9f45921311dd 100644 (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;