diff options
| author | 2009-11-22 23:30:05 +0000 | |
|---|---|---|
| committer | 2009-11-22 23:30:05 +0000 | |
| commit | 4aba814d37fdb05e56b39f46b7cf815e1b38f857 (patch) | |
| tree | 51133f1cd2c0d946690734ae29c9c02ca6d04f89 /libexec/tftp-proxy/filter.c | |
| parent | Stop supporting bridgename.bridge* files, and move to hostname.bridge* (diff) | |
| download | wireguard-openbsd-4aba814d37fdb05e56b39f46b7cf815e1b38f857.tar.xz wireguard-openbsd-4aba814d37fdb05e56b39f46b7cf815e1b38f857.zip | |
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/tftp-proxy/filter.c')
| -rw-r--r-- | libexec/tftp-proxy/filter.c | 4 |
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); |
