summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2002-12-23 13:15:19 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2002-12-23 13:15:19 +0000
commit94c678fa55186ce490ebdf0dfc8175c1af8b65fc (patch)
tree1cbb0e87721e62f7c8aea66ac6e22190ed07f08f /sys/net/pf.c
parentb17d0a09f3306df1ee6cf163520c4662cbdeeeb1 (diff)
Change from array to single pf_pabuf (no longer need multiple buffers as
we don't need the second list of addresses for DIOCCHANGE* operations) Also get rid of a bug where DIOCBEGINADDRS clears pabuf[1] when pabuf[0] is the one being used. ok henning@ dhartmei@
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 dc12b3ad0cb..7f05e025576 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.281 2002/12/22 02:37:58 mcbride Exp $ */
+/* $OpenBSD: pf.c,v 1.282 2002/12/23 13:15:18 mcbride Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -94,7 +94,7 @@ struct pf_state_tree;
struct pf_anchorqueue pf_anchors;
struct pf_ruleset pf_main_ruleset;
struct pf_altqqueue pf_altqs[2];
-struct pf_palist pf_pabuf[2];
+struct pf_palist pf_pabuf;
struct pf_altqqueue *pf_altqs_active;
struct pf_altqqueue *pf_altqs_inactive;
struct pf_status pf_status;