summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
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 77a660f..12753d6 100644
--- a/main.go
+++ b/main.go
@@ -125,7 +125,7 @@ func main() {
// open TUN device (or use supplied fd)
- tun, err := func() (tun.TUNDevice, error) {
+ tun, err := func() (tun.Device, error) {
tunFdStr := os.Getenv(ENV_WG_TUN_FD)
if tunFdStr == "" {
return tun.CreateTUN(interfaceName, device.DefaultMTU)