aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--tunnel/defaultroutemonitor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tunnel/defaultroutemonitor.go b/tunnel/defaultroutemonitor.go
index 72bab135..c102b644 100644
--- a/tunnel/defaultroutemonitor.go
+++ b/tunnel/defaultroutemonitor.go
@@ -123,6 +123,7 @@ func monitorDefaultRoutes(family winipcfg.AddressFamily, device *device.Device,
firstBurst = time.Now()
} else if time.Since(firstBurst) > time.Second*2 {
firstBurst = time.Time{}
+ burstTimer.Stop()
doIt()
}
burstMutex.Unlock()