diff options
| author | Roy Marples <roy@marples.name> | 2013-05-24 09:08:23 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2013-05-24 09:08:23 +0000 |
| commit | 7afd1fdfb0a1a3f87caa814e6506129affdf76c0 (patch) | |
| tree | 1da4792664403517fa238e1c5d1779f71d8aadf9 /dhcpcd.c | |
| parent | d2aef5a270342182524a2f30871e4d01b059ba9b (diff) | |
| download | dhcpcd-7afd1fdfb0a1a3f87caa814e6506129affdf76c0.tar.xz | |
Comment on why we don't solicit dhcpv6 without an RA to instruct us.
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -426,8 +426,22 @@ start_interface(void *arg) if (!(ifo->options & DHCPCD_IPV6RS)) { if (ifo->options & DHCPCD_IA_FORCED) nolease = dhcp6_start(ifp, 1); - else - nolease = dhcp6_find_delegates(ifp);; + else { + nolease = dhcp6_find_delegates(ifp); + /* Enabling the below doesn't really make + * sense as there is currently no standard + * to push routes via DHCPv6. + * (There is an expired working draft, + * maybe abandoned?) + * You can also get it to work by forcing + * an IA as shown above. */ +#if 0 + /* With no RS or delegates we might + * as well try and solicit a DHCPv6 address */ + if (nolease == 0) + nolease = dhcp6_start(ifp, 1); +#endif + } if (nolease == -1) syslog(LOG_ERR, "%s: dhcp6_start: %m", ifp->name); |
