mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
pfctl: remove the prototype of pfr_ina_define()
The function went when DIOCRINADEFINE was converted to netlink; pfctl
calls pfctl_ina_define() from libpfctl instead. Name that one in the
error message that pfctl_load_tables() prints when it fails.
Fixes: 219ce30638 ("pf: convert DIOCRINADEFINE to netlink")
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
2 files changed
+1
-3
No files matched your search
+1
-1
@@ -2476,7 +2476,7 @@ pfctl_load_tables(struct pfctl *pf, char *path, struct pfctl_anchor *a,
|
||||
pf->anchor->ruleset.tticket,
|
||||
ukt->pfrukt_init_addr ? PFR_FLAG_ADDRSTOO : 0);
|
||||
if (e != 0)
|
||||
err(1, "%s pfr_ina_define() %s@%s", __func__,
|
||||
err(1, "%s pfctl_ina_define() %s@%s", __func__,
|
||||
kt->pfrkt_name, kt->pfrkt_anchor);
|
||||
RB_REMOVE(pfr_ktablehead, &pfr_ktables, kt);
|
||||
pfr_buf_clear(&ukt->pfrukt_addrs);
|
||||
|
||||
@@ -115,8 +115,6 @@ int pfr_set_addrs(struct pfr_table *, struct pfr_addr *, int,
|
||||
int pfr_get_addrs(struct pfr_table *, struct pfr_addr *, int *, int);
|
||||
int pfr_get_astats(struct pfr_table *, struct pfr_astats *, int *, int);
|
||||
int pfr_tst_addrs(struct pfr_table *, struct pfr_addr *, int, int *, int);
|
||||
int pfr_ina_define(struct pfr_table *, struct pfr_addr *, int, int *,
|
||||
int *, int, int);
|
||||
void pfr_buf_clear(struct pfr_buffer *);
|
||||
int pfr_buf_add(struct pfr_buffer *, const void *);
|
||||
void *pfr_buf_next(struct pfr_buffer *, const void *);
|
||||
|
||||
Reference in new issue
Block a user