summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2019-03-07 08:01:52 +0000
committerkn <kn@openbsd.org>2019-03-07 08:01:52 +0000
commitf985073445837bb74ca302a96db3b51d58a5cf3b (patch)
tree0c3e6a71388da80cba6eb823c2ea4e81283f26ba
parentWhen accessing the child address cells make sure to use the size for (diff)
downloadwireguard-openbsd-f985073445837bb74ca302a96db3b51d58a5cf3b.tar.xz
wireguard-openbsd-f985073445837bb74ca302a96db3b51d58a5cf3b.zip
Remove pfctl_*_pool() remnants
Left behind in pfctl_parser.h revision 1.91 "First pass at removing the 'pf_pool' mechanism [...]" These functions don't exist anymore, no object change. OK procter
-rw-r--r--sbin/pfctl/pfctl_optimize.c7
-rw-r--r--sbin/pfctl/pfctl_parser.h5
2 files changed, 2 insertions, 10 deletions
diff --git a/sbin/pfctl/pfctl_optimize.c b/sbin/pfctl/pfctl_optimize.c
index 42703c39452..3a0a334010e 100644
--- a/sbin/pfctl/pfctl_optimize.c
+++ b/sbin/pfctl/pfctl_optimize.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_optimize.c,v 1.40 2019/01/03 22:49:00 kn Exp $ */
+/* $OpenBSD: pfctl_optimize.c,v 1.41 2019/03/07 08:01:52 kn Exp $ */
/*
* Copyright (c) 2004 Mike Frantzen <frantzen@openbsd.org>
@@ -892,11 +892,6 @@ load_feedback_profile(struct pfctl *pf, struct superblocks *superblocks)
rs = pf_find_or_create_ruleset(pr.anchor_call);
por->por_rule.anchor = rs->anchor;
TAILQ_INSERT_TAIL(&queue, por, por_entry);
-
- /* XXX pfctl_get_pool(pf->dev, &pr.rule.rpool, nr, pr.ticket,
- * PF_PASS, pf->anchor) ???
- * ... pfctl_clear_pool(&pr.rule.rpool)
- */
}
if (construct_superblocks(pf, &queue, &prof_superblocks))
diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h
index 267323eca70..be0ccee1897 100644
--- a/sbin/pfctl/pfctl_parser.h
+++ b/sbin/pfctl/pfctl_parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.h,v 1.114 2019/03/06 19:49:05 kn Exp $ */
+/* $OpenBSD: pfctl_parser.h,v 1.115 2019/03/07 08:01:52 kn Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -219,9 +219,6 @@ int add_opt_table(struct pfctl *, struct pf_opt_tbl **, sa_family_t,
struct pf_rule_addr *, char *);
void pfctl_add_rule(struct pfctl *, struct pf_rule *);
-int pfctl_add_pool(struct pfctl *, struct pf_pool *, sa_family_t, int);
-void pfctl_move_pool(struct pf_pool *, struct pf_pool *);
-void pfctl_clear_pool(struct pf_pool *);
int pfctl_set_timeout(struct pfctl *, const char *, int, int);
int pfctl_set_reassembly(struct pfctl *, int, int);