summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-05-04 15:17:45 +0100
committerRoy Marples <roy@marples.name>2018-05-04 15:17:45 +0100
commita979907b7d6ad0687c4e354f119760c35134af55 (patch)
tree829e33530d04ff56af1401fe44d5e36dc37926e6
parent329e1f12edcd290667555f89c5a86f77afab9053 (diff)
downloaddhcpcd-a979907b7d6ad0687c4e354f119760c35134af55.tar.xz
bpf: BIOCIMMEDIATE argument is an unsigned int.
-rw-r--r--src/bpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bpf.c b/src/bpf.c
index 0c9246d9..b99e8c24 100644
--- a/src/bpf.c
+++ b/src/bpf.c
@@ -108,7 +108,7 @@ bpf_open(struct interface *ifp, int (*filter)(struct interface *, int))
size_t buf_len;
struct bpf_version pv;
#ifdef BIOCIMMEDIATE
- int flags;
+ unsigned int flags;
#endif
#ifndef O_CLOEXEC
int fd_opts;