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)
This commit is contained in:
Kristof Provost 2024-08-28 14:42:33 +02:00
parent 5d54e25394
commit 72706300b6

View file

@ -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");
}