summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-23 17:05:45 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-23 17:05:45 +0100
commitd6cf996151307d083c30e4ecde0f1d7449b19253 (patch)
tree2c005e24fb82c7f83d34f99e68c452110dbb6176 /nest/route.h
parent63472779ad4ecdecbcfedf2d2bb40abc2f8c84b0 (diff)
IO: Fix socket priority
On Linux, setting the ToS will also set the priority and the range of accepted values is quite limited (masked by 0x1e). Therefore, 0xc0 is translated to a priority of 0, not something we want, overriding the "7" priority which was set previously explicitely. To avoid that, just move setting priority later in the code. Thanks to Vincent Bernat for the patch.
Diffstat (limited to 'nest/route.h')
0 files changed, 0 insertions, 0 deletions