aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-10-04 08:58:27 +0000
committerKristof Provost <kp@FreeBSD.org>2021-10-22 07:34:08 +0000
commit00ff2b29a9ba563b6b2f324c0c9378ea286e17df (patch)
tree7d0d220bb5bfd07f3b2f134faffc8c9f0ab4ae04 /sys/net
parente089cda88b7885e23043b8a46f9c9add6a285443 (diff)
downloadsrc-00ff2b29a9ba563b6b2f324c0c9378ea286e17df.tar.gz
src-00ff2b29a9ba563b6b2f324c0c9378ea286e17df.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") (cherry picked from commit 76c2e71c4c65a85279505005716aa43101c47bf7)
Diffstat (limited to 'sys/net')
-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 e142976c588e..9fb231e95a2c 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1044,7 +1044,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);