summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-01-01 16:09:30 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-01-01 16:09:30 +0000
commit77851a167cfd9f734e26ab52a92f2413c7ff7fb7 (patch)
treec24cfed7cc5f295d036949750551caf4dd32c33c /sys/net/pf.c
parenta73198e248c7ed11e9ec8f138f54123c75bb81bc (diff)
use a #define for the default state table size
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index c71f3b73e42..338cb22f1cc 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.292 2003/01/01 04:26:19 dhartmei Exp $ */
+/* $OpenBSD: pf.c,v 1.293 2003/01/01 16:09:29 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -233,7 +233,7 @@ int pf_socket_lookup(uid_t *, gid_t *, int, sa_family_t,
int, struct pf_pdesc *);
struct pf_pool_limit pf_pool_limits[PF_LIMIT_MAX] =
- { { &pf_state_pl, 10000 }, { &pf_frent_pl, PFFRAG_FRENT_HIWAT } };
+ { { &pf_state_pl, PFSTATE_HIWAT }, { &pf_frent_pl, PFFRAG_FRENT_HIWAT } };
#define STATE_TRANSLATE(s) \
(s)->lan.addr.addr32[0] != (s)->gwy.addr.addr32[0] || \