summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index eb5446f..a599de1 100644
--- a/main.go
+++ b/main.go
@@ -15,6 +15,7 @@ import (
"strconv"
"syscall"
+ "golang.zx2c4.com/wireguard/conn"
"golang.zx2c4.com/wireguard/device"
"golang.zx2c4.com/wireguard/ipc"
"golang.zx2c4.com/wireguard/tun"
@@ -219,7 +220,7 @@ func main() {
return
}
- device := device.NewDevice(tun, logger)
+ device := device.NewDevice(tun, conn.NewDefaultBind(), logger)
logger.Verbosef("Device started")