summaryrefslogtreecommitdiff
path: root/device/net_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'device/net_io.c')
-rw-r--r--device/net_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/net_io.c b/device/net_io.c
index 2311599..1db9bca 100644
--- a/device/net_io.c
+++ b/device/net_io.c
@@ -1226,7 +1226,7 @@ net_set_filter(ifp, rcv_port, priority, filter, filter_count)
&& my_infp == 0
&& (infp->filter_end - infp->filter) == filter_count
&& bpf_eq((bpf_insn_t)infp->filter,
- filter, filter_bytes))
+ (bpf_insn_t)filter, filter_bytes))
my_infp = infp;
for (i = 0; i < NET_HASH_SIZE; i++) {