aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/service.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-11-08 20:23:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-11-08 20:32:38 +0100
commitb1fc806ad0a845a4f4c8404cace4678ca8b7b702 (patch)
treed965c2cb5985c10302810f1c7807920e7d2f0fb9 /tunnel/service.go
parentbuild: bump to go 1.17.3 (diff)
downloadwireguard-windows-b1fc806ad0a845a4f4c8404cace4678ca8b7b702.tar.xz
wireguard-windows-b1fc806ad0a845a4f4c8404cace4678ca8b7b702.zip
tunnel: check for WeakHostSend/Forwarding in pitfalls
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--tunnel/service.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tunnel/service.go b/tunnel/service.go
index 4a4f5e40..374d71d3 100644
--- a/tunnel/service.go
+++ b/tunnel/service.go
@@ -135,6 +135,8 @@ func (service *tunnelService) Execute(args []string, r <-chan svc.ChangeRequest,
}
}
+ evaluateStaticPitfalls()
+
log.Println("Watching network interfaces")
watcher, err = watchInterface()
if err != nil {