Bug #10675
closed
DHCPv6 config not all directives start on a new line as expected
Added by Jim Pingle about 4 years ago.
Updated almost 4 years ago.
Affected Architecture:
All
Description
In the DHCPv6 config, "prefix6" is not starting on its own new line. Probably the line before is missing a \n at the end of the string it builds.
subnet6 2001:db8::/64 {
range6 2001:db8::FFFF:0000 2001:db8::FFFF:FFFF;
do-forward-updates false;
option dhcp6.name-servers 2001:db8::1; prefix6 2001:db8:1:E000:: 2001:db8:1:EF00:: /60;
}
- Description updated (diff)
- Status changed from Confirmed to Pull Request Review
- Status changed from Pull Request Review to Feedback
PR has been merged. Thanks!
Tested on :
2.5.0-DEVELOPMENT (amd64)
built on Sat Oct 10 01:03:57 EDT 2020
FreeBSD 12.2-STABLE
"prefix6" is starting on its own new line now, though DNS server is not listed anymore.
subnet6 2001:db8::/64 {
range6 2001:db8::FFFF:0000 2001:db8::FFFF:FFFF;
do-forward-updates false;
#option dhcp6.name-servers --;
prefix6 2001:db8:1:E000:: 2001:db8:1:EF00:: /60;
Please check that.
- Status changed from Feedback to In Progress
- Assignee changed from Jim Pingle to Renato Botelho
- Assignee changed from Renato Botelho to Viktor Gurov
the original issue seems to be specific for snapshot 2.5 (not 2.4.5),
now it's OK, all directives start on a new line
Resolved
- Status changed from In Progress to Resolved
Looks good to me as well, including the DNS server.
subnet6 2001:db8::/64 {
range6 2001:db8::FFFF:0000 2001:db8::FFFF:FFFF;
do-forward-updates false;
option dhcp6.name-servers 2001:db8::1;
prefix6 2001:db8:1:E000:: 2001:db8:1:EF00:: /60;
}
- Category changed from DHCP (IPv4) to DHCP (IPv6)
Also available in: Atom
PDF