Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133606124
D17625.id49415.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
693 B
Referenced Files
None
Subscribers
None
D17625.id49415.diff
View Options
Index: head/contrib/tcpdump/print-pflog.c
===================================================================
--- head/contrib/tcpdump/print-pflog.c
+++ head/contrib/tcpdump/print-pflog.c
@@ -97,8 +97,12 @@
else
ND_PRINT((ndo, "rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr));
- ND_PRINT((ndo, "%s: %s %s on %s: ",
- tok2str(pf_reasons, "unkn(%u)", hdr->reason),
+ ND_PRINT((ndo, "%s", tok2str(pf_reasons, "unkn(%u)", hdr->reason)));
+
+ if (hdr->uid != UID_MAX)
+ ND_PRINT((ndo, " [uid %u]", (unsigned)hdr->uid));
+
+ ND_PRINT((ndo, ": %s %s on %s: ",
tok2str(pf_actions, "unkn(%u)", hdr->action),
tok2str(pf_directions, "unkn(%u)", hdr->dir),
hdr->ifname));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 27, 11:51 PM (11 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24309037
Default Alt Text
D17625.id49415.diff (693 B)
Attached To
Mode
D17625: tcpdump: Log uid on pflog interfaces
Attached
Detach File
Event Timeline
Log In to Comment