Hello,

Just noticed that the messages a tcpdump -nvi pflog0 prints contain [uid
4294967295, pid 100000]. Cause is a change to NO_PID in sys/proc.h by guenther@
which was not synced to tcpdump's print-pflog.c.
The follwoing patch fixes the problem.

-- Matthias

Index: print-pflog.c
===================================================================
RCS file: /usr/src/usr.sbin/tcpdump/print-pflog.c,v
retrieving revision 1.30
diff -u -p -r1.30 print-pflog.c
--- src/usr.sbin/tcpdump/print-pflog.c  24 Jan 2017 22:40:09 -0000      1.30
+++ src/usr.sbin/tcpdump/print-pflog.c  24 May 2017 08:24:12 -0000
@@ -30,7 +30,7 @@
 #include <sys/mbuf.h>
 
 #ifndef NO_PID
-#define NO_PID (32766+1)
+#define NO_PID (99999+1)
 #endif
 
 struct rtentry;

Reply via email to