diff options
| author | 2017-05-24 16:20:26 +0000 | |
|---|---|---|
| committer | 2017-05-24 16:20:26 +0000 | |
| commit | 2a8c19b30ce780cfacf3eebc7f49bf292ec329cd (patch) | |
| tree | 4825c674de9b7944bdb6ad805b438e2de73fefb0 /usr.sbin/tcpdump/print-pflog.c | |
| parent | Add an idle cycle implementation for R4600/R5000/RM7000 CPUs and their (diff) | |
| download | wireguard-openbsd-2a8c19b30ce780cfacf3eebc7f49bf292ec329cd.tar.xz wireguard-openbsd-2a8c19b30ce780cfacf3eebc7f49bf292ec329cd.zip | |
Sync NO_PID value from kernel header to tcpdump source. It is
#ifdef _KERNEL, so it does not work automatically. This prevents
some bogus uid and pid print when dumping from pflog interface.
from Matthias Pitzl; OK deraadt@
Diffstat (limited to 'usr.sbin/tcpdump/print-pflog.c')
| -rw-r--r-- | usr.sbin/tcpdump/print-pflog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-pflog.c b/usr.sbin/tcpdump/print-pflog.c index 0c9d6426b8c..7fbf4605517 100644 --- a/usr.sbin/tcpdump/print-pflog.c +++ b/usr.sbin/tcpdump/print-pflog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-pflog.c,v 1.30 2017/01/24 22:40:09 deraadt Exp $ */ +/* $OpenBSD: print-pflog.c,v 1.31 2017/05/24 16:20:26 bluhm Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 @@ -30,7 +30,7 @@ #include <sys/mbuf.h> #ifndef NO_PID -#define NO_PID (32766+1) +#define NO_PID (99999+1) #endif struct rtentry; |
