aboutsummaryrefslogtreecommitdiff
path: root/contrib/pf/ftp-proxy/filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pf/ftp-proxy/filter.c')
-rw-r--r--contrib/pf/ftp-proxy/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pf/ftp-proxy/filter.c b/contrib/pf/ftp-proxy/filter.c
index 3bad5feb4be4..7893be97f9b2 100644
--- a/contrib/pf/ftp-proxy/filter.c
+++ b/contrib/pf/ftp-proxy/filter.c
@@ -183,7 +183,7 @@ init_filter(const char *opt_qname, const char *opt_tagname, int opt_verbose)
pfh = pfctl_open(PF_DEVICE);
if (pfh == NULL)
err(1, "pfctl_open");
- status = pfctl_get_status(pfctl_fd(pfh));
+ status = pfctl_get_status_h(pfh);
if (status == NULL)
err(1, "DIOCGETSTATUS");
if (!status->running)