diff options
| author | Roy Marples <roy@marples.name> | 2020-05-19 16:09:35 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-05-19 16:09:35 +0000 |
| commit | 00185f719ddc13a4fdb39af51ae0d61d50fa548f (patch) | |
| tree | b08cec11ff6c404cd18959e6986d0636a39f51fd /src/privsep-bpf.c | |
| parent | 39c363f78e7ef8684197ba844bd0f6e8ad408b78 (diff) | |
| download | dhcpcd-00185f719ddc13a4fdb39af51ae0d61d50fa548f.tar.xz | |
Fix compile on Linux
Diffstat (limited to 'src/privsep-bpf.c')
| -rw-r--r-- | src/privsep-bpf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/privsep-bpf.c b/src/privsep-bpf.c index 4fb4b142..5b52ddb9 100644 --- a/src/privsep-bpf.c +++ b/src/privsep-bpf.c @@ -269,8 +269,9 @@ ps_bpf_dispatch(struct dhcpcd_ctx *ctx, { struct iovec *iov = msg->msg_iov; struct interface *ifp; - uint8_t bpf_flags, *bpf; + uint8_t *bpf; size_t bpf_len; + unsigned int bpf_flags; ifp = if_findindex(ctx->ifaces, psm->ps_id.psi_ifindex); bpf = iov->iov_base; |
