summaryrefslogtreecommitdiffhomepage
path: root/app/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-12-26 20:02:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-12-26 20:04:40 +0100
commitf1f36fb600ffdaa59f838f6866f594e8e690170d (patch)
tree61fe2f62a7a6c2180b12eeb662b22cef32994c1f /app/src
parent55f8ecc94ebdb6ea513072501651363f69e3197f (diff)
wg-quick: set mtu after addresses
This has all sorts of terrible implications and fixes a problem in a pretty terrible way. If the interface MTU is less than 1280, IPv6 addresses will fail to be added. Rather than explictly trying to catch this and do something particular about it -- such as nicely warning the user that there could be a v6 isolation issue, for example -- we just set the MTU _after_ we set the addresses, so that in setting the MTU, we wind up removing the addresses that were just added. This is pretty bad, but it makes things a bit smoother.
Diffstat (limited to 'app/src')
0 files changed, 0 insertions, 0 deletions