diff options
| author | Roy Marples <roy@marples.name> | 2018-03-19 20:56:42 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2018-03-19 20:56:42 +0000 |
| commit | 06b5cd1756dba57935bed4c2b1b060e9d6e657d7 (patch) | |
| tree | aab6206b28921d1d0ee90d136b5e0293096d1d05 /src/ipv6nd.c | |
| parent | d7b82e4b832d5a4881c72052eb723d9ea4279eeb (diff) | |
| download | dhcpcd-06b5cd1756dba57935bed4c2b1b060e9d6e657d7.tar.xz | |
Fix compile on OpenBSD.
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index d5b94943..c8c2e54d 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -870,7 +870,9 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx, struct interface *ifp, rap->expired = 0; rap->hasdns = 0; +#ifdef IPV6_AF_TEMPORARY ipv6_markaddrsstale(ifp, IPV6_AF_TEMPORARY); +#endif TAILQ_FOREACH(ap, &rap->addrs, next) { ap->flags |= IPV6_AF_STALE; } |
