diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2010-10-09 08:14:37 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2010-10-09 08:14:37 +0000 |
commit | d9c02da6479d20d1d15f207b2f08af1b2cf97752 (patch) | |
tree | fa8614fabfdb3cf4730872285310376111ce9f4c /lib/libpcap | |
parent | 4eb149c01de786bb6b5c8c9f94cdf331adfde8f8 (diff) |
Fix typo in pflog header size computation. Fixes filtering with the new
pflog headers. reported by jmc@, tested by jmc@ and sthen@, ok sthen@
Diffstat (limited to 'lib/libpcap')
-rw-r--r-- | lib/libpcap/gencode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpcap/gencode.c b/lib/libpcap/gencode.c index fdad382de15..5d77801b279 100644 --- a/lib/libpcap/gencode.c +++ b/lib/libpcap/gencode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gencode.c,v 1.35 2010/09/08 02:04:47 krw Exp $ */ +/* $OpenBSD: gencode.c,v 1.36 2010/10/09 08:14:36 canacar Exp $ */ /* * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998 @@ -618,7 +618,7 @@ nl2X_stmt(void) sappend(s, tmp); tmp = new_stmt(BPF_ALU|BPF_AND|BPF_K); - tmp->s.k = 0xf6; + tmp->s.k = 0xfc; sappend(s, tmp); nl_reg = alloc_reg(); |