summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-30 13:25:41 +0100
committerRoy Marples <roy@marples.name>2020-05-30 13:25:41 +0100
commitd3070845926234887655c601f74722d199105f55 (patch)
tree7511594c8e323ebfa91652fca74444c0db73f730 /src/if.h
parentcd4f6fc05be710f096fbff9532459cb1730981da (diff)
downloaddhcpcd-d3070845926234887655c601f74722d199105f55.tar.xz
privsep: Drain the link socket as we can't re-open it.
Add debug per 100 messages.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if.h b/src/if.h
index ad1239fd..e644afc8 100644
--- a/src/if.h
+++ b/src/if.h
@@ -256,7 +256,7 @@ struct interface *if_findifpfromcmsg(struct dhcpcd_ctx *,
int xsocket(int, int, int);
#ifdef __linux__
-int if_linksocket(struct sockaddr_nl *, int);
+int if_linksocket(struct sockaddr_nl *, int, int);
int if_getnetlink(struct dhcpcd_ctx *, struct iovec *, int, int,
int (*)(struct dhcpcd_ctx *, void *, struct nlmsghdr *), void *);
#endif