diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2004-06-25 10:10:15 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2004-06-25 10:10:15 +0000 |
commit | 553a08a83999f0198ea42221d73ef0c373884e6a (patch) | |
tree | 66bfe013b74a8200fb56c5a965da2b66b5a79c4b /sys | |
parent | 9e815d7f235f4cfc33f8577b3aff7bf7dd334495 (diff) |
re-introduce PF_INOUT and move PF_FORWARD def to the end.
pfctl is assuming that the keyword == 0 in its parser! (see decl for "dir").
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 3bf60ae0229..1e76d254781 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.199 2004/06/25 00:42:58 itojun Exp $ */ +/* $OpenBSD: pfvar.h,v 1.200 2004/06/25 10:10:14 itojun Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -47,7 +47,7 @@ struct ip; #define PF_TCPS_PROXY_SRC ((TCP_NSTATES)+0) #define PF_TCPS_PROXY_DST ((TCP_NSTATES)+1) -enum { PF_FORWARD, PF_IN, PF_OUT }; +enum { PF_INOUT, PF_IN, PF_OUT, PF_FORWARD }; enum { PF_LAN_EXT, PF_EXT_GWY, PF_ID }; enum { PF_PASS, PF_DROP, PF_SCRUB, PF_NAT, PF_NONAT, PF_BINAT, PF_NOBINAT, PF_RDR, PF_NORDR, PF_SYNPROXY_DROP }; |