diff options
author | 2006-10-06 11:05:30 +0000 | |
---|---|---|
committer | 2006-10-06 11:05:30 +0000 | |
commit | ece86db25cc0cc24a8e06c4b494a6faaea0abaca (patch) | |
tree | 26240e2ddaf9480752c874a716554eefa936bb2c | |
parent | Document the fact that 'flags S/SA keep state' is now the implicit default, (diff) | |
download | wireguard-openbsd-ece86db25cc0cc24a8e06c4b494a6faaea0abaca.tar.xz wireguard-openbsd-ece86db25cc0cc24a8e06c4b494a6faaea0abaca.zip |
Oops, flags S/SA doesn't work on fragments.
-rw-r--r-- | sbin/pfctl/parse.y | 4 |
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"); } |