]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Always send preference if it is configured.
authorShane Kerr <shane@isc.org>
Sat, 8 Dec 2007 18:09:32 +0000 (18:09 +0000)
committerShane Kerr <shane@isc.org>
Sat, 8 Dec 2007 18:09:32 +0000 (18:09 +0000)
See RT ticket #17353 for more.

RELNOTES
server/dhcpv6.c

index 24c749185b9ecea1448073c72c29f0639fcb64e3..98d31ab5fa269ba0bca02ffff8ed3d192fa2a31d 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -52,6 +52,11 @@ The system has only been tested on Linux, FreeBSD, and Solaris, and
 may not work on other platforms. Please report any problems and 
 suggested fixes to <dhcp-users@isc.org>.
 
+                       Changes since 4.0.0rc1
+
+- The DHCPv6 server would not send the preference option unless the 
+  client requested it, via the ORO. This has been fixed, so the DHCPv6
+  server will always send the preference value if it is configured.
 
                        Changes since 4.0.0b3
 
index f0b6df082708020e55c9bc61739ca8e10fdb603c..1cfe650704db632953e03ae25a67ffb84fe473a8 100644 (file)
@@ -641,6 +641,7 @@ static const int required_opts[] = {
        D6O_CLIENTID,
        D6O_SERVERID,
        D6O_STATUS_CODE,
+       D6O_PREFERENCE,
        0
 };
 static const int required_opts_solicit[] = {
@@ -652,6 +653,7 @@ static const int required_opts_solicit[] = {
        D6O_STATUS_CODE,
        D6O_VENDOR_OPTS,
        D6O_RECONF_ACCEPT,
+       D6O_PREFERENCE,
        0
 };
 static const int required_opts_IA_NA[] = {