summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-26 22:51:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-26 22:51:04 +0000
commit86b92cfc6b5f945e91bb95b870808f2541a01b5b (patch)
tree79fc312821ff15e2c82f1d448132724d38b3b870 /sys
parent92f4992c591092578650fe0e6dcefc332e33b7fb (diff)
fix PFRES_MAX handling
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 9f1a898e924..80a79a1b673 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.19 2001/06/26 22:26:13 deraadt Exp $ */
+/* $OpenBSD: pfvar.h,v 1.20 2001/06/26 22:51:02 deraadt Exp $ */
/*
* Copyright (c) 2001, Daniel Hartmeier
@@ -127,7 +127,7 @@ struct pf_rdr {
#define PFRES_BADOFF 1 /* Bad offset for pull_hdr */
#define PFRES_FRAG 2 /* Dropping following fragment */
#define PFRES_SHORT 3 /* Dropping short packet */
-#define PFRES_MAX 3 /* total */
+#define PFRES_MAX 4 /* total+1 */
#define PFRES_NAMES { \
"match", \