From 0015b7e71a4c9ab92a378347a35ecd0eabe2c211 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 24 Jan 2020 20:26:43 +0100 Subject: tunnel: deduplicate addresses from config Windows doesn't like it when passing these off to its config. Reported-by: Jonathan Tooker Signed-off-by: Jason A. Donenfeld --- tunnel/service.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tunnel/service.go') diff --git a/tunnel/service.go b/tunnel/service.go index 8bd981d6..e535894b 100644 --- a/tunnel/service.go +++ b/tunnel/service.go @@ -118,6 +118,7 @@ func (service *tunnelService) Execute(args []string, r <-chan svc.ChangeRequest, serviceError = services.ErrorLoadConfiguration return } + conf.DeduplicateNetworkEntries() err = CopyConfigOwnerToIPCSecurityDescriptor(service.Path) if err != nil { serviceError = services.ErrorLoadConfiguration -- cgit v1.2.3-59-g8ed1b