diff options
| author | Roy Marples <roy@marples.name> | 2020-04-19 07:52:47 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-19 07:52:47 +0100 |
| commit | bc4ceca2596b046eb734597552a7426f7042f1d3 (patch) | |
| tree | 8818de9458134307942c4ce943ec9d2a8cad28e4 /src/ipv6nd.c | |
| parent | 4a6f4ea264ff15bfa37422024a6b74d5c9a6ab13 (diff) | |
| download | dhcpcd-bc4ceca2596b046eb734597552a7426f7042f1d3.tar.xz | |
inet6: Add 'temporary' directive to the slaac option
This instructs dhcpcd to create a temporary address for each
address generated from a RA.
As such, dhcpcd no longer looks at the kernel option for it
as the functionality is being removed from some or never existed
in the first place.
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 6f5ce35b..1b048db9 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -1338,7 +1338,7 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx, #ifdef IPV6_MANAGETEMPADDR /* RFC4941 Section 3.3.3 */ if (ia->flags & IPV6_AF_AUTOCONF && - ip6_use_tempaddr(ia->iface->name) && + ia->iface->options->options & DHCPCD_SLAACTEMP && IA6_CANAUTOCONF(ia)) { if (!new_ia) { |
