diff options
| author | Roy Marples <roy@marples.name> | 2018-03-22 18:22:04 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2018-03-22 18:22:04 +0000 |
| commit | bdf094b9507ae8ccd6daadd0409644db09b1f44c (patch) | |
| tree | 4a18bff8631c37fd84350afa11e86eacc8b0c4db /src/ipv6.c | |
| parent | ac1d177ad187f9c183fced73ffc4b752d7c947c1 (diff) | |
| download | dhcpcd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()); } } |
