diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-07 21:47:19 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-12-07 21:50:19 +0100 |
commit | ddccd6da4ce33fc5ea1710955df905adc59f6188 (patch) | |
tree | 75052531b3a9abc0311e4580929f2707acaf3e25 /WireGuard/WireGuardNetworkExtension | |
parent | Zip: Increase size of buffer used to read data from the archive (diff) | |
download | wireguard-apple-ddccd6da4ce33fc5ea1710955df905adc59f6188.tar.xz wireguard-apple-ddccd6da4ce33fc5ea1710955df905adc59f6188.zip |
wireguard-go-bridge: account for network changes
Everytime the network changes, we need to recreate the UDP socket,
because the ephemeral listen port is tied to the old physical interface.
As well, we need to re-set the IP addresses for each endpoint, so that
they're passed to getaddrinfo and are then resolved using DNS46.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuardNetworkExtension')
0 files changed, 0 insertions, 0 deletions