summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-05-24 16:20:27 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-05-24 16:20:27 +0000
commit57b4ea3f6d3fbee018c3cf9b630f79ade47d4f97 (patch)
tree42ca65a82742554c9e4764285b674db6838cc35b
parent41d468b9e505cc0805b5cdff947859554896fe8c (diff)
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@
-rw-r--r--usr.sbin/tcpdump/print-pflog.c4
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;