diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-01-23 17:05:45 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-01-23 17:05:45 +0100 |
commit | d6cf996151307d083c30e4ecde0f1d7449b19253 (patch) | |
tree | 2c005e24fb82c7f83d34f99e68c452110dbb6176 /misc/bird.spec | |
parent | 63472779ad4ecdecbcfedf2d2bb40abc2f8c84b0 (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 'misc/bird.spec')
0 files changed, 0 insertions, 0 deletions