diff options
author | 2006-09-18 07:03:35 +0000 | |
---|---|---|
committer | 2006-09-18 07:03:35 +0000 | |
commit | 47231fdad9507ce1b789aadad480bdd9ce4ef79f (patch) | |
tree | efe435d415132fde52da14496c038f692843f33e /sys/dev/usb/if_ral.c | |
parent | regen (diff) | |
download | wireguard-openbsd-47231fdad9507ce1b789aadad480bdd9ce4ef79f.tar.xz wireguard-openbsd-47231fdad9507ce1b789aadad480bdd9ce4ef79f.zip |
fix tos (type-of-service) comparisons. for rules which use 'tos x', compare
for equality (ip_tos == x). for priority queue assignment, compare AND-wise
(ip_tos & IPTOS_LOWDELAY). this matters mostly for cases where the reserved
bits in ip_tos are used (RFC791, 1349) and more than a single bit is set.
from Steve Welham, closes PR5226 and PR5227.
Diffstat (limited to 'sys/dev/usb/if_ral.c')
0 files changed, 0 insertions, 0 deletions