Brad Fitzpatrick
e9edc16349
device: fix error shadowing before log print
...
Signed-off-by: Brad Fitzpatrick <[email protected] >
2021-01-07 14:49:44 +01:00
Brad Fitzpatrick
58a8f05f50
tun/wintun/registry: fix Go 1.15 race/checkptr failure
...
Signed-off-by: Brad Fitzpatrick <[email protected] >
[Jason: ran go mod tidy.]
Signed-off-by: Jason A. Donenfeld <[email protected] >
2020-10-21 18:26:10 +02:00
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