Mercurial > hg > dhcpcd
changeset 5391:e9cc33189abd draft
inet6: Don't regen temp addresses we didn't add.
Helps with interopability with OpenBSD's slaacd(8).
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Sat, 27 Jun 2020 13:58:44 +0100 |
| parents | 3c3341010852 |
| children | b6d4660cc8da |
| files | src/ipv6.c |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ipv6.c Sat Jun 27 13:46:25 2020 +0100 +++ b/src/ipv6.c Sat Jun 27 13:58:44 2020 +0100 @@ -2130,6 +2130,7 @@ /* Mark addresses for regen so we don't infinite loop. */ TAILQ_FOREACH(ia, &state->addrs, next) { if (ia->flags & IPV6_AF_TEMPORARY && + ia->flags & IPV6_AF_ADDED && !(ia->flags & IPV6_AF_STALE)) ia->flags |= IPV6_AF_REGEN; else
