From nobody Wed Sep 18 08:24:50 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 4X7sC71VyCz5WcF3; Wed, 18 Sep 2024 08:24:51 +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 4X7sC6652Jz4Jnt; Wed, 18 Sep 2024 08:24:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726647890; 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=GXthKTGqdPAxE68IGP7wDf2toqGAgHjR0ErsnrwL4vo=; b=Qbhc8GQ/qipqDCMHcnFbZc89D+S9PfZlFyyURUqGXuXS952ZdPqT8bRkKrKflL7plihCHH 1NjE8Hzpr6dzWqvd6mRc2bI0QX3B96kmjKrOmijKVsBzptPILLz5nOoIuueP7144ZWpQqV R346kPLOfRtx3Do+wcBC1gDZSNnW2jh0oe4GV3Xrx4X7zKHYPq9JRTYA6+6HbXM7ib/nDP X/M7MYJokWlUlIFtbdf07VSz8bC9hEsRt5eoqBbFXrPYaDZKOJEwObTMCGO2MDoUtjX4qa Kne5RXuEoaqLExCBh6fK5CbvuhHmA4uZGk3+iLgJcVdFE7pSIt4lWWFrP2k6tg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726647890; a=rsa-sha256; cv=none; b=wNr2UrzY/UUTAFx35a9sQwGexHAmzYHuH8M8sWD468i2vsqzxOrVd9xxSJCUk9hI0UEtYO R0RUpS83eit0ofSYNnV/pJbK08KH/G5CF3qdThAV1uVx8NZyOk7k1e0BEw0jX0wiLvztac 57uB2gfwGWpsnWTIeZbNwHl24hE9nbsS1bLV+YgtKZzOyvUFzg/lO1ZSEeYOrOCMn9J2F5 op64qSD23vhDI2rzszemKMT+vRelLBY2C0sRHdJLCyqExOqTvSAOaf06rhAxOTxZlIEVSe zJacrqwWQR57cVzspHhRFbP83vDaa13r/kWXGbSGIgnsFfZKulqnz6W3WY1NLA== 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=1726647890; 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=GXthKTGqdPAxE68IGP7wDf2toqGAgHjR0ErsnrwL4vo=; b=ZY/tkY6EAf7n1ugUiqGoWP4Pd//L9In+IuWU4N+CmmINm2DRPpkZqUKU/xhAm1zDkTg17I fUFq463e0y9WMWMdFNdJBxdhwHKuYwiVrVkqxGP3XXkB8MqY2KAI2yMSu4VOIErmzi3uZB rW7TCnigndSebnrSDekW7oEr7WSxxIJJueNPdJczK3oHI/dpI3bjwHsfFgHIqe/2q8/gj/ +vSHi3OI4Wj9IRCHVzUXXeVD2jPEqToB4kcyu9FBiyv3jj7JKzOqKltOnLxS6v4851D67Z yVtBdhG3qlHFUL8GgM5ib9gVDtRugipaS/rZ8iKxEtiGsjrwpRalWPeQGxbIWw== 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 4X7sC65hrqzFNL; Wed, 18 Sep 2024 08:24:50 +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 48I8OojW075165; Wed, 18 Sep 2024 08:24:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I8OoEi075162; Wed, 18 Sep 2024 08:24:50 GMT (envelope-from git) Date: Wed, 18 Sep 2024 08:24:50 GMT Message-Id: <202409180824.48I8OoEi075162@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: ebb3a73d0669 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: ebb3a73d0669bd3a7ab91d3c2fa43b8547c205c7 Auto-Submitted: auto-generated The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=ebb3a73d0669bd3a7ab91d3c2fa43b8547c205c7 commit ebb3a73d0669bd3a7ab91d3c2fa43b8547c205c7 Author: Kristof Provost AuthorDate: 2024-08-28 12:42:33 +0000 Commit: Kristof Provost CommitDate: 2024-09-18 08:22:45 +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 b95ef59a3250..f940950a2479 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -6108,7 +6108,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"); }