Commit 7ff22c0b authored by Shawn Routhier's avatar Shawn Routhier
Browse files

Removed the restriction on using IPv6 addresses in IPv4 mode. This

allows IPv4 options which contain IPv6 addresses to be specified.  For
example the 6rd option can be specified and used like this:
[ISC-Bugs #23039]
parent 701d179a
......@@ -71,6 +71,15 @@ work on other platforms. Please report any problems and suggested fixes to
- Modify the dlpi code to accept getmsg() returning a positive value.
[ISC-Bugs #22824]
- Removed the restriction on using IPv6 addresses in IPv4 mode. This
allows IPv4 options which contain IPv6 addresses to be specified. For
example the 6rd option can be specified and used like this:
[ISC-Bugs #23039]
option 6rd code 212 = { integer 8, integer 8,
ip6-address, array of ip-address };
option 6rd 16 10 2001:: 1.2.3.4, 5.6.7.8;
Changes since 4.1-ESV-R1
! In dhclient check the data for some string options for
......
......@@ -373,13 +373,6 @@ parse_ip6_addr(struct parse *cfile, struct iaddr *addr) {
char v6[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
int v6_len;
if (local_family != AF_INET6) {
parse_warn(cfile, "IPv6 addresses are only available "
"in DHCPv6 mode.");
skip_to_semi(cfile);
return 0;
}
/*
* First token is non-raw. This way we eat any whitespace before
* our IPv6 address begins, like one would expect.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment