We can determine the interface name ourselves

This commit is contained in:
Jason A. Donenfeld
2018-04-19 15:54:33 +02:00
parent ab875491c0
commit 676bb91434
2 changed files with 8 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ func main() {
}
file := os.NewFile(uintptr(fd), "")
return CreateTUNFromFile(interfaceName, file)
return CreateTUNFromFile(file)
}()
if err != nil {