Date: Wed, 18 Sep 2024 08:24:50 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: ebb3a73d0669 - stable/13 - pf: fix debug printf Message-ID: <202409180824.48I8OoEi075162@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=ebb3a73d0669bd3a7ab91d3c2fa43b8547c205c7 commit ebb3a73d0669bd3a7ab91d3c2fa43b8547c205c7 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2024-08-28 12:42:33 +0000 Commit: Kristof Provost <kp@FreeBSD.org> 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"); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409180824.48I8OoEi075162>