[Bug 283799] tcpdump (14.2+) endian-swaps uid when parsing pflog data
Date: Thu, 02 Jan 2025 17:14:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283799 --- Comment #1 from eborisch+FreeBSD@gmail.com --- Just to explicitly show before/after here: - if (hdr->uid != UID_MAX) - ND_PRINT(" [uid %u]", (unsigned)hdr->uid); + if (GET_BE_U_4(hdr->uid) != UID_MAX) + ND_PRINT(" [uid %u]", (unsigned)GET_BE_U_4(hdr->uid)); -- You are receiving this mail because: You are the assignee for the bug.