summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcamield <camield@openbsd.org>2006-12-01 07:25:41 +0000
committercamield <camield@openbsd.org>2006-12-01 07:25:41 +0000
commit672bd2bfe6b901e8e246bdd570e3d698a646e1c2 (patch)
tree9f4a074410c51edfccbfa2ea3673670bbe598e23
parentCorrect the explanation of NAT evaluation order. binat is always first, (diff)
downloadwireguard-openbsd-672bd2bfe6b901e8e246bdd570e3d698a646e1c2.tar.xz
wireguard-openbsd-672bd2bfe6b901e8e246bdd570e3d698a646e1c2.zip
use flags S/SA for consistency with the rest of pf
-rw-r--r--usr.sbin/ftp-proxy/filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ftp-proxy/filter.c b/usr.sbin/ftp-proxy/filter.c
index eb0a31332fb..2fda095e6ea 100644
--- a/usr.sbin/ftp-proxy/filter.c
+++ b/usr.sbin/ftp-proxy/filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: filter.c,v 1.3 2005/06/07 14:12:07 camield Exp $ */
+/* $OpenBSD: filter.c,v 1.4 2006/12/01 07:25:41 camield Exp $ */
/*
* Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl>
@@ -289,7 +289,7 @@ prepare_rule(u_int32_t id, int rs_num, struct sockaddr *src,
pfr.rule.log = rule_log;
pfr.rule.keep_state = 1;
pfr.rule.flags = TH_SYN;
- pfr.rule.flagset = (TH_SYN|TH_ACK|TH_FIN|TH_RST);
+ pfr.rule.flagset = (TH_SYN|TH_ACK);
pfr.rule.max_states = 1;
if (qname != NULL)
strlcpy(pfr.rule.qname, qname, sizeof pfr.rule.qname);