Project

General

Profile

Bug #10675

DHCPv6 config not all directives start on a new line as expected

Added by Jim Pingle 4 months ago. Updated 5 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP Server
Target version:
Start date:
06/18/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
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;

}

Associated revisions

Revision 610cbfdc (diff)
Added by Viktor Gurov 4 months ago

DHCPv6 config newline fix. Issue #10675

History

#1 Updated by Jim Pingle 4 months ago

  • Description updated (diff)

#3 Updated by Jim Pingle 4 months ago

  • Status changed from Confirmed to Pull Request Review

#4 Updated by Renato Botelho 4 months ago

  • Status changed from Pull Request Review to Feedback

PR has been merged. Thanks!

#5 Updated by Danilo Zrenjanin 14 days ago

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.

#6 Updated by Steve Beaver 8 days ago

  • Status changed from Feedback to In Progress
  • Assignee changed from Jim Pingle to Renato Botelho

#7 Updated by Steve Beaver 8 days ago

  • Assignee changed from Renato Botelho to Viktor Gurov

#8 Updated by Viktor Gurov 8 days ago

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

#9 Updated by Steve Beaver 8 days ago

  • Status changed from In Progress to Resolved

#10 Updated by Jim Pingle 5 days ago

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;

}

Also available in: Atom PDF