diff options
author | 2010-10-09 08:14:36 +0000 | |
---|---|---|
committer | 2010-10-09 08:14:36 +0000 | |
commit | c266690c99951c467eeb0876290ebbc972c16fd3 (patch) | |
tree | 3d1109b68a3e11e5555b2e04949baf4fceef8e1a /lib/libpcap/gencode.c | |
parent | install nsd.conf; ok jakob@ (diff) | |
download | wireguard-openbsd-c266690c99951c467eeb0876290ebbc972c16fd3.tar.xz wireguard-openbsd-c266690c99951c467eeb0876290ebbc972c16fd3.zip |
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/gencode.c')
-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(); |