diff options
| author | Roy Marples <roy@marples.name> | 2020-05-07 00:08:41 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-05-07 00:08:41 +0100 |
| commit | eaa779f6a000e37a2bde7f3b1a8f2672fb5d6093 (patch) | |
| tree | ff40fcfb439d889bf038bca948e26117fa0f9ef3 /src/privsep-inet.c | |
| parent | 032bb2e172c77dee0aaa49f625043598f117e915 (diff) | |
| download | dhcpcd-eaa779f6a000e37a2bde7f3b1a8f2672fb5d6093.tar.xz | |
privsep: Remove unsued function.
Diffstat (limited to 'src/privsep-inet.c')
| -rw-r--r-- | src/privsep-inet.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/privsep-inet.c b/src/privsep-inet.c index a21bd405..0191ccd7 100644 --- a/src/privsep-inet.c +++ b/src/privsep-inet.c @@ -279,13 +279,6 @@ ps_inet_stop(struct dhcpcd_ctx *ctx) return ps_dostop(ctx, &ctx->ps_inet_pid, &ctx->ps_inet_fd); } -ssize_t -ps_inet_sendmsg(struct dhcpcd_ctx *ctx, uint8_t cmd, const struct msghdr *msg) -{ - - return ps_sendmsg(ctx, ctx->ps_inet_fd, cmd, 0, msg); -} - #ifdef INET static void ps_inet_recvinbootp(void *arg) @@ -579,7 +572,7 @@ ssize_t ps_inet_sendnd(struct interface *ifp, const struct msghdr *msg) { - return ps_inet_sendmsg(ifp->ctx, PS_ND, msg); + return ps_sendmsg(ifp->ctx, ifp->ctx->ps_inet_fd, PS_ND, 0, msg); } #endif |
