diff options
| author | Roy Marples <roy@marples.name> | 2020-06-27 13:58:44 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-06-27 13:58:44 +0100 |
| commit | 05c1b0761da013d1bea9cc8e96cd7e09540834ba (patch) | |
| tree | c8f84efce745658a9441058c0b8ee89feef55d73 | |
| parent | e97ef86b683f87a2ae1715d30bb7c5f981c49370 (diff) | |
| download | dhcpcd-05c1b0761da013d1bea9cc8e96cd7e09540834ba.tar.xz | |
inet6: Don't regen temp addresses we didn't add.
Helps with interopability with OpenBSD's slaacd(8).
| -rw-r--r-- | src/ipv6.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2130,6 +2130,7 @@ ipv6_regentempaddrs(void *arg) /* 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 |
