1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

tcpdump: fix build

Apply the change that was supposed to be in bf0700716a
This commit is contained in:
Kristof Provost 2024-04-18 17:55:34 +02:00
parent bf0700716a
commit 02ea70eff3

View File

@ -86,7 +86,7 @@ pfsync_ip_print(netdissect_options *ndo , const u_char *bp, u_int len)
{
struct pfsync_header *hdr = (struct pfsync_header *)bp;
if (len < PFSYNC_HDRLEN || !ND_TTEST_LEN(bp, len))
if (len < PFSYNC_HDRLEN || !ND_TTEST2(*bp, len))
ND_PRINT((ndo, "[|pfsync]"));
else
pfsync_print(ndo, hdr, bp + sizeof(struct pfsync_header),