aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/service.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-19 18:23:00 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-22 22:00:32 +0100
commit06447c39fad2398e4c35c56acc5e66cc1e581f65 (patch)
treebd9d332f9d114ce2ae8f147b637c4900438aa547 /tunnel/service.go
parentinstaller: remove admin knobs in cleanup (diff)
downloadwireguard-windows-06447c39fad2398e4c35c56acc5e66cc1e581f65.tar.xz
wireguard-windows-06447c39fad2398e4c35c56acc5e66cc1e581f65.zip
tunnel: only enable DNS blocking for 0/0 configs
This lets people use split tunnel DNS for the more common case. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--tunnel/service.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/tunnel/service.go b/tunnel/service.go
index 8b81f56d..33b5c116 100644
--- a/tunnel/service.go
+++ b/tunnel/service.go
@@ -171,7 +171,6 @@ func (service *tunnelService) Execute(args []string, r <-chan svc.ChangeRequest,
log.Printf("Using Wintun/%d.%d", (wintunVersion>>16)&0xffff, wintunVersion&0xffff)
}
- log.Println("Enabling firewall rules")
err = enableFirewall(conf, nativeTun)
if err != nil {
serviceError = services.ErrorFirewall