summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-22 23:30:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-22 23:30:06 +0000
commit69b817b48b100b10e82e17cd6f7bdd98a29be1c0 (patch)
treeba6b953614d5e1a1a98727b59215575820fa999f /libexec
parent4b4170d43b95e4ea821b7573a0db0c5631089bca (diff)
Move from the PF_RULESET_FILTER world order to PF_TRANS_RULESET
due to the standard henning+oga commit-and-run-for-beer problem. ok claudio
Diffstat (limited to 'libexec')
-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);