diff options
Diffstat (limited to 'main_windows.go')
-rw-r--r-- | main_windows.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main_windows.go b/main_windows.go index 128a0cd..5a7b136 100644 --- a/main_windows.go +++ b/main_windows.go @@ -11,6 +11,7 @@ import ( "os/signal" "syscall" + "golang.zx2c4.com/wireguard/conn" "golang.zx2c4.com/wireguard/device" "golang.zx2c4.com/wireguard/ipc" @@ -47,7 +48,7 @@ func main() { os.Exit(ExitSetupFailed) } - device := device.NewDevice(tun, logger) + device := device.NewDevice(tun, conn.NewDefaultBind(), logger) err = device.Up() if err != nil { logger.Errorf("Failed to bring up device: %v", err) |