From nobody Wed Sep 18 08:24:52 2024 X-Original-To: dev-commits-src-all@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 4X7sC91pfSz5Wc9W; Wed, 18 Sep 2024 08:24:53 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7sC90gGxz4JXY; Wed, 18 Sep 2024 08:24:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726647893; 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=DcTOY84UV6pYFn/QM/47NS+L0CUZrDV0eLn/6G/R+W8=; b=SgPQ/4eWsNGvDgETfHzWe1h887O6w7eEyx51FzlucHgSyYfbbrVY8Y5N8vvxkuxNCtY4LC bRl8ZQobFZrDSFD7qjA++oR8C3bCgOwenzfWuDf5HjhXC558pyLq4GbZ0rqM62YMhLTfjb EUF5v/ZRdBpxCFB/AmGpfksyrlDL0EhB1JbHzYU770TIsQkfNo4vZeQy6nvfqRNZ8qk8QE O8UgeQv71a6NjF+p5m935jAwsz9n0nEVdSzWfafgln5XdhL7Dvx9fKnvJ29N9WfuWLvFh4 yIkPQZ0ECPE/hxxS9Y7XB8emHOEFOM+lHPw4I+IaiNiiKo2G3j/BFY6A6hldbg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726647893; a=rsa-sha256; cv=none; b=p/3nnvzx+Td+/rZQCjmUpPrvSGhlzPYKg+SsEwBuMyOMz8b/kAUFesMsPU9jHepbMuHAXk SRXE829/UpGn+LuGvEflOCN+He4fFa1M3xtFD+gKEJI7w/cdGStQ9kcdPvVJEKlyu7btuz PrxfRU1PpbwqiR06vTxy3O8g88TkT2JsGNbuZ5nFqzo4zN1GtRJDV7cR414KqP2ARLV4HH ZGPlxIURWbLhBJUHHUpwEma6KObULHfnjNh+YhZQduYhRvZkwUqEtiJHbBO9eSEcE2agA0 aLi34C1csvXqhx9SbVz4H6rwnv8gD6YQLtB6bL1MV2Aiy8x0gDwSfhH7u2E/PQ== 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=1726647893; 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=DcTOY84UV6pYFn/QM/47NS+L0CUZrDV0eLn/6G/R+W8=; b=BicrRPAkx/fYMJPBmBP0SLghdI8DRxUlAZTlgi/s1Qbt3J32NDHXj5jtBWxHO5qBIyYpAn 4YuYnesk/HFz7lHHvU0c85pKPcE8O0OnAWAieoC3domb0wq3uw1jO3OtwegXGtVVLCYbQZ qrDbODzsBygobVV2DM0jw2C/s5vjezXh1m4y/oe9yG0SXQ4gSSJtOxLAHP/A06ivVg/o4S 3VEi1UhYp7PgGMCelSyQVW+3x5A7fQEybcVs4erDd5dV2xsjUvTDOgN7BRPmzaHddwBsjE acqinP59S3staikBuvRxazVAzJ3keSgLYOJHg4dtXEziq/tAx92scKZnCauAsg== 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 4X7sC90HbhzF65; Wed, 18 Sep 2024 08:24:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48I8OqtE075296; Wed, 18 Sep 2024 08:24:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I8OqEs075293; Wed, 18 Sep 2024 08:24:52 GMT (envelope-from git) Date: Wed, 18 Sep 2024 08:24:52 GMT Message-Id: <202409180824.48I8OqEs075293@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: 72706300b6e5 - stable/14 - pf: fix debug printf List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/14 X-Git-Reftype: branch X-Git-Commit: 72706300b6e5c33985fd3cd0062e6a07becf8529 Auto-Submitted: auto-generated The branch stable/14 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=72706300b6e5c33985fd3cd0062e6a07becf8529 commit 72706300b6e5c33985fd3cd0062e6a07becf8529 Author: Kristof Provost AuthorDate: 2024-08-28 12:42:33 +0000 Commit: Kristof Provost CommitDate: 2024-09-18 08:22:38 +0000 pf: fix debug printf MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D46574 (cherry picked from commit db11a048282d268e19510b9f566903ed0509e698) --- sys/netpfil/pf/pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index e39abc7e7ad2..f4ee8fb3344a 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -6700,7 +6700,7 @@ pf_icmp_state_lookup(struct pf_state_key_cmp *key, struct pf_pdesc *pd, PF_IN : PF_OUT) != icmp_dir) { if (V_pf_status.debug >= PF_DEBUG_MISC) { printf("pf: icmp type %d in wrong direction (%d): ", - icmp_dir, pd->dir); + ntohs(type), icmp_dir); pf_print_state(*state); printf("\n"); }