]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Default to private stable addresses via dhcpcd.conf instead of the binary
authorRoy Marples <roy@marples.name>
Thu, 5 Jun 2014 20:23:19 +0000 (20:23 +0000)
committerRoy Marples <roy@marples.name>
Thu, 5 Jun 2014 20:23:19 +0000 (20:23 +0000)
so that upgraders aren't adversely affected.

dhcpcd.8.in
dhcpcd.conf
dhcpcd.conf.5.in
if-options.c

index de2a827b2fe5b0e2cafe088a133bb0508515f0c8..ea332dd13e6959729949f1f237185676f3a3b2a0 100644 (file)
@@ -109,10 +109,7 @@ is also an implementation of the BOOTP client specified in
 is also an implementation of the IPv6 Router Solicitor as specified in
 .%R RFC 4861
 and
-.%R RFC 6106
-and will generate stable private Interface Identifiers for SLAAC
-as specified in
-.%R RFC 7212 .
+.%R RFC 6106 .
 .Pp
 .Nm
 is also an implemenation of the DHCPv6 client as specified in
index 96eaf523c4d161a677d44a44b1a9418bc572616a..2ecbe742967d2eeaee6d4a0f65822bcdad1a839b 100644 (file)
@@ -30,6 +30,9 @@ option ntp_servers
 # A ServerID is required by RFC2131.
 require dhcp_server_identifier
 
+# Generate Stable Private IPv6 Addresses instead of hardware based ones
+slaac private
+
 # A hook script is provided to lookup the hostname if not set by the DHCP
 # server, but it should not be run by default.
 nohook lookup-hostname
index 845bce43eaf31d8ac0a37ca8068a74876ce57706..7bed0bccf7beb245d9f3c7fe5dc051b94d903b96 100644 (file)
@@ -455,9 +455,6 @@ Subsequent options are only parsed for this wireless
 .Ar ssid .
 .It Ic slaac Op Ar hwaddr | Ar private
 Selects the interface identifier used for SLAAC generated IPv6 addresses.
-.Ar private
-is the default and complies with
-.%R RFC 7217.
 .It Ic static Ar value
 Configures a static
 .Ar value .
index 344760881f26f61775daa12b821394bbb0c0bc5a..b388f40f838c7ee4c54f623d04dbea6f3325ff9a 100644 (file)
@@ -1952,7 +1952,6 @@ read_config(struct dhcpcd_ctx *ctx,
 #endif
 #ifdef INET6
        ifo->options |= DHCPCD_IPV6 | DHCPCD_IPV6RS | DHCPCD_IPV6RA_REQRDNSS;
-       ifo->options |= DHCPCD_SLAACPRIVATE;
        ifo->options |= DHCPCD_DHCP6;
 #endif
        ifo->timeout = DEFAULT_TIMEOUT;