diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-17 21:26:53 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-17 21:31:42 +0200 |
commit | 2e772194cf7cd7c37d24364a9f9d407dc96a25e8 (patch) | |
tree | aa4c543d4ed445d72e2bc3bc722659087ede01c5 /allowedips.go | |
parent | 85b2378a07126fb64460f0a23e7a150d0e63d909 (diff) |
tun: only call .Fd() once
Doing so tends to make the tunnel blocking, so we only retrieve it once
before we call SetNonblock, and then cache the result.
Diffstat (limited to 'allowedips.go')
0 files changed, 0 insertions, 0 deletions