diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2009-04-23 02:01:22 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2009-04-23 02:01:22 +0000 |
commit | 7b47af1092ecb15bda223fe7c70b8c30449b2d8f (patch) | |
tree | fdcb8cfc0dfe985d1699c5d788c3ddf0befb2261 /sys/net/pf.c | |
parent | 3ccbcad2aeee6e8eaf98235de823e98a7836341c (diff) |
print the type of the icmp message we're bitching about when debugging is
turned up in pf_icmp_state_lookup.
ok sthen@
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 9639b6a6829..75770287dda 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.645 2009/04/17 18:37:06 henning Exp $ */ +/* $OpenBSD: pf.c,v 1.646 2009/04/23 02:01:21 dlg Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -4075,7 +4075,7 @@ pf_icmp_state_lookup(struct pf_state_key_cmp *key, struct pf_pdesc *pd, PF_IN : PF_OUT) != icmp_dir) { if (pf_status.debug >= PF_DEBUG_MISC) { printf("pf: icmp type %d in wrong direction (%d): ", - icmp_dir); + ntohs(type), icmp_dir); pf_print_state(*state); printf("\n"); } |