From: David Hankins Date: Thu, 17 Dec 2009 20:04:35 +0000 (+0000) Subject: - When using 'ignore client-updates;', the FQDN returned to the client X-Git-Tag: v4_2_0b1~3^2~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=928618dd72bbb06443d376c7e76b9584476e2ed4;p=thirdparty%2Fdhcp.git - When using 'ignore client-updates;', the FQDN returned to the client is no longer truncated to one octet. [ISC-Bugs #20743] --- diff --git a/RELNOTES b/RELNOTES index 09215a472..453feb292 100644 --- a/RELNOTES +++ b/RELNOTES @@ -40,6 +40,11 @@ work on other platforms. Please report any problems and suggested fixes to . + 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 diff --git a/server/ddns.c b/server/ddns.c index d925083aa..7ea409a42 100644 --- a/server/ddns.c +++ b/server/ddns.c @@ -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;