From d072521d53cee6693c6495b57af6843e92979eb7 Mon Sep 17 00:00:00 2001 From: John Thacker Date: Tue, 18 Nov 2025 16:39:29 -0500 Subject: [PATCH] LINKTYPE_NFLOG: Fix size of hardware address structure padding. It is two octets, not one octet, to pad to a 32-bit boundary. That matches observed captures, and also see: https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter/nfnetlink_log.h#L27 https://github.com/the-tcpdump-group/libpcap/blob/master/pcap/nflog.h#L64 Signed-off-by: John Thacker --- htmlsrc/linktypes/LINKTYPE_NFLOG.html | 2 +- linktypes/LINKTYPE_NFLOG.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htmlsrc/linktypes/LINKTYPE_NFLOG.html b/htmlsrc/linktypes/LINKTYPE_NFLOG.html index 558a6d1d..45b5fafc 100644 --- a/htmlsrc/linktypes/LINKTYPE_NFLOG.html +++ b/htmlsrc/linktypes/LINKTYPE_NFLOG.html @@ -112,7 +112,7 @@

Description

| (2 Octets) | +-------------------------------+ | Padding | -| (1 Octet) | +| (2 Octets) | +-------------------------------+ | Address | | (8 Octets, including padding) | diff --git a/linktypes/LINKTYPE_NFLOG.html b/linktypes/LINKTYPE_NFLOG.html index 0122c162..cbed0abd 100644 --- a/linktypes/LINKTYPE_NFLOG.html +++ b/linktypes/LINKTYPE_NFLOG.html @@ -156,7 +156,7 @@

Description

| (2 Octets) | +-------------------------------+ | Padding | -| (1 Octet) | +| (2 Octets) | +-------------------------------+ | Address | | (8 Octets, including padding) |