Brad Fitzpatrick
31b574ef99
device: remove some unnecessary unsafe
...
Signed-off-by: Brad Fitzpatrick <[email protected] >
2020-07-15 06:59:44 +10:00
Brad Fitzpatrick
2fb0a712f0
tun: return a better error message if /dev/net/tun doesn't exist
...
It was just returning "no such file or directory" (the String of the
syscall.Errno returned by CreateTUN).
Signed-off-by: Brad Fitzpatrick <[email protected] >
2020-05-02 01:50:47 -06:00
Brad Fitzpatrick
85a45a9651
tun: fix data race on name field
...
Signed-off-by: Brad Fitzpatrick <[email protected] >
2020-05-02 01:46:42 -06:00
Brad Fitzpatrick
abd287159e
tun: remove unused isUp method
...
Signed-off-by: Brad Fitzpatrick <[email protected] >
2020-05-02 01:46:42 -06:00