diff options
| author | Roy Marples <roy@marples.name> | 2015-02-23 10:55:09 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-02-23 10:55:09 +0000 |
| commit | 8d6f9ae6d243ebbb7e6aa33f16403b4d421326d3 (patch) | |
| tree | ff24da1b4708478e53acc2c017bb2f8c18e2911e /ipv6.c | |
| parent | 4a7b20ab6c6ed159234ff297c6e1abf004f303ca (diff) | |
| download | dhcpcd-8d6f9ae6d243ebbb7e6aa33f16403b4d421326d3.tar.xz | |
Support BSDs where userland is not allowed to set temporary addresses.
Diffstat (limited to 'ipv6.c')
| -rw-r--r-- | ipv6.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -984,8 +984,10 @@ ipv6_handleifa(struct dhcpcd_ctx *ctx, ap, next); } ap->addr_flags = flags; +#ifdef IPV6_MANAGETEMPADDR if (ap->addr_flags & IN6_IFF_TEMPORARY) ap->flags |= IPV6_AF_TEMPORARY; +#endif if (IN6_IS_ADDR_LINKLOCAL(&ap->addr)) { #ifdef IPV6_POLLADDRFLAG if (ap->addr_flags & IN6_IFF_TENTATIVE) { |
