HomeFreeBSD

pfctl: Allow TOS bits to be cleared

Description

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>

Details

Provenance
kpAuthored on Aug 2 2016, 3:41 PM
Parents
rG249a8a800309: sed(1): Revert r303047 "cleanup" and therefore r303572.
Branches
Unknown
Tags
Unknown

Event Timeline