diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2020-02-20 16:56:54 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2020-02-20 16:56:54 +0000 |
commit | ec03129c70182f2b24dd73c23b65e21de8134a24 (patch) | |
tree | aff61980f07f1f0d612de2436534affed30f3ae6 /sys/net/bpf.c | |
parent | 00bbf32646352eb0f9b77ee2a5ab19f6b3f53f7b (diff) |
Replace field f_isfd with field f_flags in struct filterops to allow
adding more filter properties without cluttering the struct.
OK mpi@, anton@
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 5d8adf4db3e..3f8cf6b7933 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.187 2020/02/14 14:32:44 mpi Exp $ */ +/* $OpenBSD: bpf.c,v 1.188 2020/02/20 16:56:52 visa Exp $ */ /* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */ /* @@ -1163,7 +1163,7 @@ bpfpoll(dev_t dev, int events, struct proc *p) } const struct filterops bpfread_filtops = { - .f_isfd = 1, + .f_flags = FILTEROP_ISFD, .f_attach = NULL, .f_detach = filt_bpfrdetach, .f_event = filt_bpfread, |