aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-10-04 08:58:27 +0000
committerKristof Provost <kp@FreeBSD.org>2021-10-07 17:50:22 +0000
commit76c2e71c4c65a85279505005716aa43101c47bf7 (patch)
treefa5f963f29741d8c9fe671b82139bff9a9b16933 /sys
parent90dedf0fef71d3e3081015525665bf335f9c7ee3 (diff)
downloadsrc-76c2e71c4c65a85279505005716aa43101c47bf7.tar.gz
src-76c2e71c4c65a85279505005716aa43101c47bf7.zip
pf: remove unused field from pf_kanchor
The 'match' field is only used in the userspace version of the struct (pf_anchor). MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfvar.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index ba5a2d341172..9fa1da8b5c07 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1057,7 +1057,6 @@ struct pf_kanchor {
char path[MAXPATHLEN];
struct pf_kruleset ruleset;
int refcnt; /* anchor rules */
- int match; /* XXX: used for pfctl black magic */
};
RB_PROTOTYPE(pf_kanchor_global, pf_kanchor, entry_global, pf_anchor_compare);
RB_PROTOTYPE(pf_kanchor_node, pf_kanchor, entry_node, pf_kanchor_compare);