summaryrefslogtreecommitdiffstats
path: root/src/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-03-22 18:22:04 +0000
committerRoy Marples <roy@marples.name>2018-03-22 18:22:04 +0000
commitbdf094b9507ae8ccd6daadd0409644db09b1f44c (patch)
tree4a18bff8631c37fd84350afa11e86eacc8b0c4db /src/ipv6.c
parentac1d177ad187f9c183fced73ffc4b752d7c947c1 (diff)
downloaddhcpcd-bdf094b9507ae8ccd6daadd0409644db09b1f44c.tar.xz
For IPv4, override any existing address when adding it.
When deleting stale addresses, report our pid as the deletor.
Diffstat (limited to 'src/ipv6.c')
-rw-r--r--src/ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipv6.c b/src/ipv6.c
index b88757af..82cf71b6 100644
--- a/src/ipv6.c
+++ b/src/ipv6.c
@@ -2124,7 +2124,7 @@ ipv6_deletestaleaddrs(struct interface *ifp)
if (ia->flags & IPV6_AF_STALE)
ipv6_handleifa(ifp->ctx, RTM_DELADDR,
ifp->ctx->ifaces, ifp->name,
- &ia->addr, ia->prefix_len, 0, 0);
+ &ia->addr, ia->prefix_len, 0, getpid());
}
}