summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-10-07 14:22:13 +0100
committerRoy Marples <roy@marples.name>2019-10-07 14:22:13 +0100
commit407f95bd315b3349be17825222f215ff8b391351 (patch)
tree75e64dd8107541416e1bf094c59d1067bac0ef6f
parentf75b2d34bc31339135835d45940e0e65c8ac344d (diff)
downloadparpd-407f95bd315b3349be17825222f215ff8b391351.tar.xz
BSD: BIOCIMMEDIATE is 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 c0a714f..6606bd9 100644
--- a/src/bpf.c
+++ b/src/bpf.c
@@ -59,7 +59,7 @@ bpf_open_arp(struct interface *ifp)
struct bpf_version pv;
struct bpf_program pf;
#ifdef BIOCIMMEDIATE
- int flags;
+ unsigned int flags;
#endif
#ifdef _PATH_BPF
fd = open(_PATH_BPF, O_RDWR | O_NONBLOCK);