pfctl: Allow TOS bits to be cleared
commitf9eb7c538a30f23903b629dd39534176e4393eee
authorkp <kp@FreeBSD.org>
Tue, 2 Aug 2016 15:41:42 +0000 (2 15:41 +0000)
committerkp <kp@FreeBSD.org>
Tue, 2 Aug 2016 15:41:42 +0000 (2 15:41 +0000)
treea528a95d7fa0c36d0f9310ee6284abb6cae19005
parentb8ad49048aea66b5b8f2125fb8fadf4ee398cc37
pfctl: Allow TOS bits to be cleared

TOS value 0 is valid, so use 256 as an invalid value rather than zero.
This allows users to enforce TOS == 0 with pf.

Reported by: Radek KrejĨa <radek.krejca@starnet.cz>
sbin/pfctl/parse.y