Files
wireguard-go/device
Josh Bleecher Snyder 675ff32e6c device: improve MTU change handling
The old code silently accepted negative MTUs.
It also set MTUs above the maximum.
It also had hard to follow deeply nested conditionals.

Add more paranoid handling,
and make the code more straight-line.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-02-08 10:32:07 -08:00
..
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-02-08 10:32:07 -08:00
2020-11-18 14:24:17 +01:00