diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-08-11 12:05:01 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2001-08-11 12:05:01 +0000 |
commit | b7d10a986fcd6d83d5e1febbc145b267b8f7152c (patch) | |
tree | 0f12670233f634c76dcd2185748b78126f6f55c2 /sys/net/pf_norm.c | |
parent | 117e49e4fe673065b85ff3a47f437f8b43ff1baa (diff) |
Add support for ICMP errors referring to ICMP queries/replies. Fixes
'ICMP error message for bad proto' messages. Reported by Mark Grimes
and Steve Rumble.
Add debugging level with ioctl interface and pfctl switch. Default
is 'None'.
Diffstat (limited to 'sys/net/pf_norm.c')
-rw-r--r-- | sys/net/pf_norm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index 53e99c59717..2d847cf497f 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.5 2001/08/02 06:59:25 deraadt Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.6 2001/08/11 12:05:00 dhartmei Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -93,7 +93,7 @@ int pf_normalize_tcp(int, struct ifnet *, struct mbuf *, #define PFFRAG_FRENT_HIWAT 5000 /* Number of fragment entries */ #define PFFRAG_FRAG_HIWAT 1000 /* Number of fragmented packets */ -#define DPFPRINTF(x) if (pf_debug) printf x +#define DPFPRINTF(x) if (pf_status.debug) printf x #if NPFLOG > 0 #define PFLOG_PACKET(x,a,b,c,d,e) \ |