Skip to content

Commit

Permalink
pf: remove unused field from pf_kanchor
Browse files Browse the repository at this point in the history
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")
  • Loading branch information
kprovost committed Oct 7, 2021
1 parent 90dedf0 commit 76c2e71
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sys/net/pfvar.h
Expand Up @@ -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);
Expand Down

0 comments on commit 76c2e71

Please sign in to comment.