summaryrefslogtreecommitdiffstats
path: root/src/net/udp/dhcpv6.c
diff options
context:
space:
mode:
authorMichael Brown2013-12-04 23:21:47 +0100
committerMichael Brown2013-12-05 01:41:49 +0100
commit6248894f52b5794970292ea40f68fe0c892eafec (patch)
tree25cfd1614410615498bb091158da5c6b7f9bf42c /src/net/udp/dhcpv6.c
parent[settings] Add fetch_ipv6_setting() (diff)
downloadipxe-6248894f52b5794970292ea40f68fe0c892eafec.tar.gz
ipxe-6248894f52b5794970292ea40f68fe0c892eafec.tar.xz
ipxe-6248894f52b5794970292ea40f68fe0c892eafec.zip
[dns] Add support for resolving IPv6 addresses via AAAA records
Our policy is to prefer IPv6 addreses to IPv4 addresses, but to request IPv6 addresses only if we have an IPv6 address for the name server itself. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/udp/dhcpv6.c')
-rw-r--r--src/net/udp/dhcpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/udp/dhcpv6.c b/src/net/udp/dhcpv6.c
index 668974cae..d38c5d946 100644
--- a/src/net/udp/dhcpv6.c
+++ b/src/net/udp/dhcpv6.c
@@ -362,7 +362,7 @@ static int dhcpv6_register ( struct dhcpv6_option_list *options,
/** Options to be requested */
static uint16_t dhcpv6_requested_options[] = {
- htons ( DHCPV6_DNS_SERVER ), htons ( DHCPV6_DOMAIN_SEARCH ),
+ htons ( DHCPV6_DNS_SERVERS ), htons ( DHCPV6_DOMAIN_LIST ),
};
/**