aboutsummaryrefslogtreecommitdiffstats
path: root/tun_darwin.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-20 06:29:46 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-20 06:29:46 +0200
commit058cedcf664e3bb553e699a09beda4dc5c1474fa (patch)
tree048ad139b7ac1b9603e8434b1a9cb212a62e0897 /tun_darwin.go
parentRemove unused mtu variable (diff)
downloadwireguard-go-058cedcf664e3bb553e699a09beda4dc5c1474fa.tar.xz
wireguard-go-058cedcf664e3bb553e699a09beda4dc5c1474fa.zip
Style
Diffstat (limited to '')
-rw-r--r--tun_darwin.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/tun_darwin.go b/tun_darwin.go
index a74dbac..23c0b54 100644
--- a/tun_darwin.go
+++ b/tun_darwin.go
@@ -177,7 +177,6 @@ func CreateTUNFromFile(file *os.File) (TUNDevice, error) {
return nil, err
}
-
tunIfindex, err := func() (int, error) {
iface, err := net.InterfaceByName(name)
if err != nil {