aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel/service.go')
-rw-r--r--tunnel/service.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tunnel/service.go b/tunnel/service.go
index 99bb3497..70e2c8a1 100644
--- a/tunnel/service.go
+++ b/tunnel/service.go
@@ -183,6 +183,9 @@ func (service *Service) Execute(args []string, r <-chan svc.ChangeRequest, chang
log.Println("Bringing peers up")
dev.Up()
+ log.Println("Waiting for TCP/IP to attach to interface")
+ waitForFamilies(nativeTun) //TODO: move this sort of thing into tun/wintun/CreateInterface
+
log.Println("Monitoring default routes")
routeChangeCallback, err = monitorDefaultRoutes(dev, conf.Interface.MTU == 0, nativeTun)
if err != nil {