diff options
author | Matt Layher <mdlayher@gmail.com> | 2019-06-10 17:33:40 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-14 18:35:57 +0200 |
commit | 1f48971a80f48257e478e532f6971d0557026120 (patch) | |
tree | cd2a3b83a1b3d5e09d5e8283c61d29537f0cbf3e /main.go | |
parent | 3371f8dac6fe6bbd7522a8316b50f6473012e302 (diff) |
tun: remove TUN prefix from types to reduce stutter elsewhere
Signed-off-by: Matt Layher <mdlayher@gmail.com>
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,7 +125,7 @@ func main() { // open TUN device (or use supplied fd) - tun, err := func() (tun.TUNDevice, error) { + tun, err := func() (tun.Device, error) { tunFdStr := os.Getenv(ENV_WG_TUN_FD) if tunFdStr == "" { return tun.CreateTUN(interfaceName, device.DefaultMTU) |