summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-05-12 17:43:30 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2003-05-12 17:43:30 +0000
commit0b9e19d51ec792b4b295be45a6cb084482f81cf0 (patch)
tree0cbb9ba0388e6e11c8d8c031b58748bfda9dbd77 /sys
parent7ec91d506125cea43c11c91acd49d9992022f365 (diff)
Correctness nit. Initialise state search trees properly.
ok henning@ frantzen@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf_ioctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 2cf188aedfc..701a0125883 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.62 2003/05/12 01:25:31 dhartmei Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.63 2003/05/12 17:43:29 mcbride Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -112,6 +112,8 @@ pfattach(int num)
pool_sethardlimit(&pf_state_pl, pf_pool_limits[PF_LIMIT_STATES].limit,
NULL, 0);
+ RB_INIT(&tree_lan_ext);
+ RB_INIT(&tree_ext_gwy);
TAILQ_INIT(&pf_anchors);
pf_init_ruleset(&pf_main_ruleset);
TAILQ_INIT(&pf_altqs[0]);