summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-03-06 08:55:11 +0000
committerRoy Marples <roy@marples.name>2018-03-06 08:55:11 +0000
commitc8d1a4150812b2d01c9cc2e5272a2ba19bc0196f (patch)
tree04a731a655be459cc6fc5d1503a2f5b0b920c159 /src/ipv6nd.c
parent94b342061f5b93b05ca9a43ea30997113da332d3 (diff)
downloaddhcpcd-c8d1a4150812b2d01c9cc2e5272a2ba19bc0196f.tar.xz
Log the pid of the process deleting an assigned address.
This should make debugging easier with third party software.
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c
index bbd02cb6..3fca8848 100644
--- a/src/ipv6nd.c
+++ b/src/ipv6nd.c
@@ -1291,7 +1291,7 @@ ipv6nd_env(char **env, const char *prefix, const struct interface *ifp)
}
void
-ipv6nd_handleifa(int cmd, struct ipv6_addr *addr)
+ipv6nd_handleifa(int cmd, struct ipv6_addr *addr, pid_t pid)
{
struct ra *rap;
@@ -1303,7 +1303,7 @@ ipv6nd_handleifa(int cmd, struct ipv6_addr *addr)
TAILQ_FOREACH(rap, addr->iface->ctx->ra_routers, next) {
if (rap->iface != addr->iface)
continue;
- ipv6_handleifa_addrs(cmd, &rap->addrs, addr);
+ ipv6_handleifa_addrs(cmd, &rap->addrs, addr, pid);
}
}