summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-10-17 14:08:18 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-10-17 14:08:18 +0000
commitdf91504acd3e710642ff47f357ee281818514631 (patch)
tree461546ba9782fd07c6936580add8219becef91c3
parentc2e5f192ee76fcfe46a851798f74463374d417a3 (diff)
increase max pf tag name size from 16 to 64 characters.
ok henning@ dhartmei@ deraadt@
-rw-r--r--sys/net/pfvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 9ac1dfbbe25..48c6ada497c 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.237 2006/10/11 08:42:31 mcbride Exp $ */
+/* $OpenBSD: pfvar.h,v 1.238 2006/10/17 14:08:17 reyk Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -507,11 +507,11 @@ struct pf_rule {
union pf_rule_ptr skip[PF_SKIP_COUNT];
#define PF_RULE_LABEL_SIZE 64
char label[PF_RULE_LABEL_SIZE];
-#define PF_QNAME_SIZE 16
+#define PF_QNAME_SIZE 64
char ifname[IFNAMSIZ];
char qname[PF_QNAME_SIZE];
char pqname[PF_QNAME_SIZE];
-#define PF_TAG_NAME_SIZE 16
+#define PF_TAG_NAME_SIZE 64
char tagname[PF_TAG_NAME_SIZE];
char match_tagname[PF_TAG_NAME_SIZE];