summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-04-19 15:54:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-04-19 16:00:20 +0200
commit676bb9143461ae25304c414fb19595fef9c310db (patch)
treea58dd5aa8e8d84d6f274f3d63b96593d638a7526 /main.go
parentab875491c0c075588676b6e83d37f595a0c78ae6 (diff)
We can determine the interface name ourselves
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index b12bb09..7742eef 100644
--- a/main.go
+++ b/main.go
@@ -90,7 +90,7 @@ func main() {
}
file := os.NewFile(uintptr(fd), "")
- return CreateTUNFromFile(interfaceName, file)
+ return CreateTUNFromFile(file)
}()
if err != nil {