From 76db44f9d6ce49db0127f7beff2ee29e8afad131 Mon Sep 17 00:00:00 2001 From: Shane Kerr Date: Sat, 8 Dec 2007 18:09:32 +0000 Subject: [PATCH] Always send preference if it is configured. See RT ticket #17353 for more. --- RELNOTES | 5 +++++ server/dhcpv6.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/RELNOTES b/RELNOTES index 24c749185..98d31ab5f 100644 --- 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 . + 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 diff --git a/server/dhcpv6.c b/server/dhcpv6.c index f0b6df082..1cfe65070 100644 --- a/server/dhcpv6.c +++ b/server/dhcpv6.c @@ -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[] = { -- 2.39.5