diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-20 18:26:01 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-20 18:26:01 +0200 |
commit | 99e8b4ba605538b64c693c4056904f34810c3938 (patch) | |
tree | 87bc010144d676f7d74d838e3f475876ffa808fa /device/race_enabled_test.go | |
parent | bd83f0ac993bc5bee0b0f96c74d24cab142ba385 (diff) |
tun: linux: account for interface removal from outside
On Linux we can run `ip link del wg0`, in which case the fd becomes
stale, and we should exit. Since this is an intentional action, don't
treat it as an error.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/race_enabled_test.go')
0 files changed, 0 insertions, 0 deletions