diff options
| author | 2000-04-26 21:25:52 +0000 | |
|---|---|---|
| committer | 2000-04-26 21:25:52 +0000 | |
| commit | a9b0695f23eb897f3321236f6dd3b42a49f08bdd (patch) | |
| tree | 54bb8074819bbe60e0566de5543a361782caa181 /lib/libpcap/bpf_image.c | |
| parent | pool manipulation routines; second take (diff) | |
| download | wireguard-openbsd-a9b0695f23eb897f3321236f6dd3b42a49f08bdd.tar.xz wireguard-openbsd-a9b0695f23eb897f3321236f6dd3b42a49f08bdd.zip | |
sync with libpcap v0.5
add support for INET6 (kame)
Diffstat (limited to 'lib/libpcap/bpf_image.c')
| -rw-r--r-- | lib/libpcap/bpf_image.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpcap/bpf_image.c b/lib/libpcap/bpf_image.c index 125197f2927..e5b75af985a 100644 --- a/lib/libpcap/bpf_image.c +++ b/lib/libpcap/bpf_image.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf_image.c,v 1.7 1999/07/20 04:49:54 deraadt Exp $ */ +/* $OpenBSD: bpf_image.c,v 1.8 2000/04/26 21:25:52 jakob Exp $ */ /* * Copyright (c) 1990, 1991, 1992, 1994, 1995, 1996 @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /home/cvs/src/lib/libpcap/bpf_image.c,v 1.7 1999/07/20 04:49:54 deraadt Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/lib/libpcap/bpf_image.c,v 1.8 2000/04/26 21:25:52 jakob Exp $ (LBL)"; #endif #include <sys/types.h> @@ -245,12 +245,12 @@ bpf_image(p, n) case BPF_ALU|BPF_AND|BPF_K: op = "and"; - fmt = "#%d"; + fmt = "#0x%x"; break; case BPF_ALU|BPF_OR|BPF_K: op = "or"; - fmt = "#%d"; + fmt = "#0x%x"; break; case BPF_ALU|BPF_LSH|BPF_K: |
