diff options
| author | Roy Marples <roy@marples.name> | 2018-03-06 08:55:11 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2018-03-06 08:55:11 +0000 |
| commit | c8d1a4150812b2d01c9cc2e5272a2ba19bc0196f (patch) | |
| tree | 04a731a655be459cc6fc5d1503a2f5b0b920c159 /src/if.c | |
| parent | 94b342061f5b93b05ca9a43ea30997113da332d3 (diff) | |
| download | dhcpcd-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/if.c')
| -rw-r--r-- | src/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -234,7 +234,7 @@ if_learnaddrs(struct dhcpcd_ctx *ctx, struct if_head *ifs, #endif ipv4_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name, &addr->sin_addr, &net->sin_addr, - brd ? &brd->sin_addr : NULL, addrflags); + brd ? &brd->sin_addr : NULL, addrflags, 0); break; #endif #ifdef INET6 @@ -258,7 +258,7 @@ if_learnaddrs(struct dhcpcd_ctx *ctx, struct if_head *ifs, #endif ipv6_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name, &sin6->sin6_addr, - ipv6_prefixlen(&net6->sin6_addr), addrflags); + ipv6_prefixlen(&net6->sin6_addr), addrflags, 0); break; #endif } |
