summaryrefslogtreecommitdiffstats
path: root/libexec/tftp-proxy/filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/tftp-proxy/filter.c')
-rw-r--r--libexec/tftp-proxy/filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/tftp-proxy/filter.c b/libexec/tftp-proxy/filter.c
index ee86a6d8f9d..9618cdb8df3 100644
--- a/libexec/tftp-proxy/filter.c
+++ b/libexec/tftp-proxy/filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: filter.c,v 1.5 2009/11/01 19:28:09 chl Exp $ */
+/* $OpenBSD: filter.c,v 1.6 2009/11/22 23:30:05 deraadt Exp $ */
/*
* Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl>
@@ -170,7 +170,7 @@ prepare_commit(u_int32_t id)
snprintf(an, PF_ANCHOR_NAME_SIZE, "%s/%d.%d", FTP_PROXY_ANCHOR,
getpid(), id);
strlcpy(pfte.anchor, an, PF_ANCHOR_NAME_SIZE);
- pfte.rs_num = PF_RULESET_FILTER;
+ pfte.type = PF_TRANS_RULESET;
if (ioctl(dev, DIOCXBEGIN, &pft) == -1)
return (-1);