From nobody Thu Apr 18 15:56:23 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VL2Sl5rsXz5H75r; Thu, 18 Apr 2024 15:56:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VL2Sl5KYtz4tJW; Thu, 18 Apr 2024 15:56:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713455783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dE+NonOoHG7y/GhpB45+j+VUNeOb0C77t9ULKcSSmJA=; b=t9d/mAH/W+4XaQZnwSKU0xzxZ//LxF4Zje20A94qEBZyapbkRIQR9SH6HPxhzL57YrIS0+ R431o3erdLIPRTTPsekW52qZUaN76PcOhcqh2O1xmT0bBWoiAOAHscks5Rx/Q4v+0Zk9Rz mbWNqPqph9+LYc2wWurO0iJV/NbHiymAEbrL+PUWqbFQojasR+GY7tdmvOJjDSHUPSWrwC aVO7Op8QvOw2oh0mUcmmkBU/sRaD2vzSjzI3urVf2hjk0YfStOmf3A225fdphNO7tg3AeH V5J+b9Cq0FkEvTsSnf9hER3Mwup+X51h6rR2t/E3VDeWnko0lbzZbrOy1dOaMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713455783; a=rsa-sha256; cv=none; b=BqRXvgtAhskYLQuVihtEgiMd+Ohv+G57JKXIS7Ezdgikai3Kb4ZWAw0bGIszYFylNGF5Ll JrjGuhj63dyJwJB8hbbfZVOaHSXh4UY9c1qNfxVXHUw3dqejHx8wJO3/5mTGruHtAXyeL7 mnWQJBJ3roEQf8ffTVjNI90/25LclabF9DKnPLKhOfrTRWWJ3VlAmhMDWA7B/L1TeDdhH5 Ebs3JDP9SwRwtEMxaEIExu7siXSaySU5/+L5DeKu5b1+vp79O4LQXnTAXpJ+h1YIwEv1pA v2zgQphVMKu7t17xoelEbePdeNr4LBCYyJRUTz6cUgLr85kCkatDSlm7UP8uQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713455783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dE+NonOoHG7y/GhpB45+j+VUNeOb0C77t9ULKcSSmJA=; b=ILufD5baKrgwTugQfa3NnRX3n/+/0CNpuhrAQQRvsQeytcQwvW7S+VlGd7L4kBV8nuxikx cLjhF7MwDHgjze1WDflahxGU6lSi1SfALt7DJ54seLZf/lxmvS7weEf5l/p8w/fQzETvWf 1tvKqnSod2OENhr8eUMnAkIiEJtHBM0EE+J7r8dcI0iLLbYGDXbjTjMIzreE3zz6px8jI/ /BPOya4ZhE9pT0+asWl1+IYjU+/5xGkGuhmEjcZj+7EY+vnfpdVGQ7yONqXDmRRCdA+aBK XUjxcfnUQO71VMAlac1yJipzmmSIaHh96k6AgOYEMNBUPhxKdw3Btgj9LPn6DQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VL2Sl4wp1zGJq; Thu, 18 Apr 2024 15:56:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43IFuNud079012; Thu, 18 Apr 2024 15:56:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IFuNTB079009; Thu, 18 Apr 2024 15:56:23 GMT (envelope-from git) Date: Thu, 18 Apr 2024 15:56:23 GMT Message-Id: <202404181556.43IFuNTB079009@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kristof Provost Subject: git: 02ea70eff39c - stable/13 - tcpdump: fix build List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 02ea70eff39c19157b232f154e0dad21950ca23e Auto-Submitted: auto-generated The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=02ea70eff39c19157b232f154e0dad21950ca23e commit 02ea70eff39c19157b232f154e0dad21950ca23e Author: Kristof Provost AuthorDate: 2024-04-18 15:55:34 +0000 Commit: Kristof Provost 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),