The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=02ea70eff39c19157b232f154e0dad21950ca23e
commit 02ea70eff39c19157b232f154e0dad21950ca23e Author: Kristof Provost <[email protected]> AuthorDate: 2024-04-18 15:55:34 +0000 Commit: Kristof Provost <[email protected]> CommitDate: 2024-04-18 15:55:34 +0000 tcpdump: fix build Apply the change that was supposed to be in bf0700716a2e --- contrib/tcpdump/print-pfsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/tcpdump/print-pfsync.c b/contrib/tcpdump/print-pfsync.c index cb1c3f3828fa..8a11b3a10463 100644 --- a/contrib/tcpdump/print-pfsync.c +++ b/contrib/tcpdump/print-pfsync.c @@ -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),
