summaryrefslogtreecommitdiff
path: root/sys/net/bpf_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/bpf_filter.c')
-rw-r--r--sys/net/bpf_filter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/bpf_filter.c b/sys/net/bpf_filter.c
index 1a00b79fc61..679a03b8c52 100644
--- a/sys/net/bpf_filter.c
+++ b/sys/net/bpf_filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf_filter.c,v 1.16 2005/12/08 08:49:30 otto Exp $ */
+/* $OpenBSD: bpf_filter.c,v 1.17 2006/02/27 14:32:49 otto Exp $ */
/* $NetBSD: bpf_filter.c,v 1.12 1996/02/13 22:00:00 christos Exp $ */
/*
@@ -545,6 +545,7 @@ bpf_validate(f, len)
*/
if (BPF_RVAL(p->code) == BPF_K && p->k == 0)
return 0;
+ break;
default:
return 0;
}