From nobody Wed Sep 11 11:18:29 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 4X3dNk3PvPz5WRkV; Wed, 11 Sep 2024 11:18:30 +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 4X3dNk0JNGz4XnW; Wed, 11 Sep 2024 11:18:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726053510; 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=8CdYL2KG/5hk6X1/MagCl/Tk4JOer7Jp2kAX4uKBaDc=; b=YshASkUk6TyM+nUSOYtf57+r9krbaBCrzBdsAGJGeBfA73g03hmWBOqXg0P6/CQOQZ/Dxb XE3OK+uIjm+mddFZKbFNP3K4GrhAJd/kdOOhoqDbVm2JI9P9lwn/pUz0JQIkTNtzJoJuOl cyFSKS5xqm2DITdblvS/U4353diqJe+xWH0LeAOD9ozAdrvhdlbCLQVMsy4e1HxiwOx0Xh RJXVwqR83SDvIBxlc6PdK/GaRdOoyED/FfXzSU3ZQhIU9Pq/T7atq7aqEmEjSNDhpjeUNg y49rm0kfivn0cZ1vP961eQSU6U5aepy1zWSAxtpoVj6157cYbB6CapjgivCm3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726053510; a=rsa-sha256; cv=none; b=N6D2rJ23uvlRzimbz/b3yeL9nxEVN6f+ndX3orgsg12vtW9WkPtSqUTq+HhbHTfXXtmuMM drgjWrgdZrh3Uc2NJsQQqDz+y1ukMuLUBC2aMR8cjsmVym6s/fHMGJxVER+NWNDX1kYm41 dkhilLgT5pi6+9t90G+UINeHTmMzQWPa4RhkIJSPtaJkkskGhGLujWQwPFGsqe9Djs5QM4 4l9vP5UF7Q6Wd3CQorSfFZ53ZxgfgH6AkC8wYWmY+uA3RFbC+NDTL7SEqUXape+fgx3M5K OJ096TwwvQxMnTCYfrgA6ouEE25m5r4NS0d52I9N1M2X2NsEZAJyILGfOYQn5g== 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=1726053510; 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=8CdYL2KG/5hk6X1/MagCl/Tk4JOer7Jp2kAX4uKBaDc=; b=ytS/SAynlo940fwJ2cOA2KLJJviYt+m41PsRgkaFmqMgbcm0i7ZZ4xPgBeMVhcg/xvCU+1 a1OcO/1wUWh8hNkHIdVRWTbAQ1o98jKZ2rDPtHQx1gl11Jkab3aC2sxxUY3bkoh6Az9tUJ ww5FPjFZ1z+FDBLkSYkpcDYrSpyTcZnmhkWECNRz65tGJJGfBceUWJgCkL1HYTaPnrDBnE 1Bg9oc3mzFFVkx2UZccZ0zAd7NG9Vvw5VbGb9+6hKke1zEVsY84MI31Jj1ADXS0Rdawaf/ a8EChF0umCZ/5+P9uJ61Dx0jCqtGzk4zdeEJNk7nhOMIXYnOxHSX+4ArcEVJMA== 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 4X3dNj72cBzSvf; Wed, 11 Sep 2024 11:18:29 +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 48BBITls065229; Wed, 11 Sep 2024 11:18:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48BBIT4x065226; Wed, 11 Sep 2024 11:18:29 GMT (envelope-from git) Date: Wed, 11 Sep 2024 11:18:29 GMT Message-Id: <202409111118.48BBIT4x065226@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: db11a048282d - main - 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/main X-Git-Reftype: branch X-Git-Commit: db11a048282d268e19510b9f566903ed0509e698 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=db11a048282d268e19510b9f566903ed0509e698 commit db11a048282d268e19510b9f566903ed0509e698 Author: Kristof Provost AuthorDate: 2024-08-28 12:42:33 +0000 Commit: Kristof Provost CommitDate: 2024-09-11 11:17:49 +0000 pf: fix debug printf MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D46574 --- 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 1535843d81b1..2066cfbeccff 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -6935,7 +6935,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"); }