summaryrefslogtreecommitdiff
path: root/sbin/pfctl/parse.y
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2006-10-06 11:05:31 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2006-10-06 11:05:31 +0000
commit31af168b833c27aca729b422b7e0de1a32fcbd93 (patch)
tree462393ecc1e037e8c0f4031354a2b4211ffa273a /sbin/pfctl/parse.y
parent879dad49b42195c97962bf70f9b81c4e2d93b26a (diff)
Oops, flags S/SA doesn't work on fragments.
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r--sbin/pfctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 5fbee3426e6..11e329ae607 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.504 2006/10/06 10:45:44 mcbride Exp $ */
+/* $OpenBSD: parse.y,v 1.505 2006/10/06 11:05:30 mcbride Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -1781,7 +1781,7 @@ pfrule : action dir logquick interface route af proto fromto
/* 'flags S/SA' by default on pass rules. */
if (!r.action && !r.flags && !r.flagset &&
- !($9.marker & FOM_FLAGS)) {
+ !$9.fragment && !($9.marker & FOM_FLAGS)) {
r.flags = parse_flags("S");
r.flagset = parse_flags("SA");
}