From b1a802e03e85f9dceee8d1992db90cb1f547e41b Mon Sep 17 00:00:00 2001 From: Ryan Thomas McBride Date: Sun, 22 Dec 2002 02:33:15 +0000 Subject: mv PF_RULESET_MAX into the enum, slightly less confusing. ok dhartmei@ --- sys/net/pfvar.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 55c613b750f..e7483bb55f2 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.115 2002/12/18 19:40:41 dhartmei Exp $ */ +/* $OpenBSD: pfvar.h,v 1.116 2002/12/22 02:33:14 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -40,9 +40,8 @@ enum { PF_IN=1, PF_OUT=2 }; enum { PF_PASS=0, PF_DROP=1, PF_SCRUB=2, PF_NAT=3, PF_NONAT=4, PF_BINAT=5, PF_NOBINAT=6, PF_RDR=7, PF_NORDR=8 }; -enum { PF_RULESET_RULE=0, PF_RULESET_NAT=1, - PF_RULESET_BINAT=2, PF_RULESET_RDR=3 }; -#define PF_RULESET_MAX PF_RULESET_RDR + 1 +enum { PF_RULESET_RULE=0, PF_RULESET_NAT=1, PF_RULESET_BINAT=2, + PF_RULESET_RDR=3, PF_RULESET_MAX=4 }; enum { PF_OP_IRG=1, PF_OP_EQ=2, PF_OP_NE=3, PF_OP_LT=4, PF_OP_LE=5, PF_OP_GT=6, PF_OP_GE=7, PF_OP_XRG=8, PF_OP_RRG=9 }; enum { PF_DEBUG_NONE=0, PF_DEBUG_URGENT=1, PF_DEBUG_MISC=2 }; -- cgit v1.2.3