aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2021-01-21 09:23:45 -0800
committerJosh Bleecher Snyder <josh@tailscale.com>2021-02-08 10:32:07 -0800
commit675ff32e6c29b4547e854c73b6aa6fdabe2cd0f5 (patch)
tree9082b96ab1548dc4dc07776cb4f048a1de956b20 /go.mod
parent3516ccc1e226756c4ba6d431cbf7e3a3fe63c5f8 (diff)
downloadwireguard-go-675ff32e6c29b4547e854c73b6aa6fdabe2cd0f5.tar.gz
wireguard-go-675ff32e6c29b4547e854c73b6aa6fdabe2cd0f5.zip
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>
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions