diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-03-02 12:28:14 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-03-02 12:28:14 +0000 |
commit | 66ae7c70242e92ede27f6a886ab2db91ea2e0983 (patch) | |
tree | 457c495810098c375877986e3418540d795563ee /sbin/pfctl/parse.y | |
parent | bce0d28aeebd839ffc8efc9153165c8ec5b39152 (diff) |
When a PF rule contains 'set tos' *followed by* a scrub option, the tos
value is changed to 0x00. Left-over from the previous implementation where
set-tos was part of "scrub". Problem reported by Jason Mader, ok henning
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r-- | sbin/pfctl/parse.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 359d1a97b63..0cd3c589d6d 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.621 2013/01/16 01:49:20 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.622 2013/03/02 12:28:13 sthen Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -2232,7 +2232,6 @@ filter_opt : USER uids { | SCRUB '(' scrub_opts ')' { filter_opts.nodf = $3.nodf; filter_opts.minttl = $3.minttl; - filter_opts.settos = $3.settos; filter_opts.randomid = $3.randomid; filter_opts.max_mss = $3.maxmss; if ($3.reassemble_tcp) |