diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-12-18 14:14:10 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-12-18 14:14:10 +0000 |
commit | 4d844fd721eeaba03e79897349cd749af6eed3d0 (patch) | |
tree | 64a629ba8651ff718e0b9d8e132403fc22f987d1 /sbin/pfctl/pfctl_parser.h | |
parent | c4309869e48d143358654c67d149bad6371a1e55 (diff) |
Maintain separate pfioc_rule structures for each type of rule,
to prevent tickets from getting overwritten.
bug reported by dhartmei@
ok dhartmei@
Diffstat (limited to 'sbin/pfctl/pfctl_parser.h')
-rw-r--r-- | sbin/pfctl/pfctl_parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h index 60cbc649efb..a58239c387a 100644 --- a/sbin/pfctl/pfctl_parser.h +++ b/sbin/pfctl/pfctl_parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.h,v 1.34 2002/12/17 12:36:59 mcbride Exp $ */ +/* $OpenBSD: pfctl_parser.h,v 1.35 2002/12/18 14:14:09 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -59,7 +59,7 @@ struct pfctl { int opts; u_int32_t rule_nr; struct pfioc_pooladdr paddr; - struct pfioc_rule *prule; + struct pfioc_rule *prule[PF_RULESET_MAX]; struct pfioc_altq *paltq; struct pfioc_queue *pqueue; }; |