diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1999-07-04 08:12:36 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1999-07-04 08:12:36 +0000 |
| commit | 5379167cd61098d538ef17a6bb5fb0a2160d9877 (patch) | |
| tree | 6bca0da6015a17480e7fb76e3ba72d595534d2e6 | |
| parent | 12ffbf2f4379c2a133828c509c1b94379592fb22 (diff) | |
Notes
| -rw-r--r-- | sys/net/bpf_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf_filter.c b/sys/net/bpf_filter.c index a45244839034..0dfe9c54a41b 100644 --- a/sys/net/bpf_filter.c +++ b/sys/net/bpf_filter.c @@ -37,7 +37,7 @@ * * @(#)bpf_filter.c 8.1 (Berkeley) 6/10/93 * - * $Id: bpf_filter.c,v 1.11 1998/12/07 03:26:34 eivind Exp $ + * $Id: bpf_filter.c,v 1.12 1998/12/07 16:31:15 eivind Exp $ */ #include <sys/param.h> @@ -328,7 +328,7 @@ bpf_filter(pc, p, wirelen, buflen) case BPF_LD|BPF_B|BPF_IND: k = X + pc->k; - if (pc->k >= buflen || X >= buflen - k) { + if (pc->k >= buflen || X >= buflen - pc->k) { #ifdef KERNEL register struct mbuf *m; |
