This commit is contained in:
Jason A. Donenfeld 2018-05-20 06:29:46 +02:00
parent c5fa3de24c
commit 058cedcf66
2 changed files with 4 additions and 5 deletions

View file

@ -177,7 +177,6 @@ func CreateTUNFromFile(file *os.File) (TUNDevice, error) {
return nil, err return nil, err
} }
tunIfindex, err := func() (int, error) { tunIfindex, err := func() (int, error) {
iface, err := net.InterfaceByName(name) iface, err := net.InterfaceByName(name)
if err != nil { if err != nil {