mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-25 13:59:08 +01:00
Update client/internal/networkmonitor/monitor.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -88,7 +88,7 @@ func (nw *NetworkMonitor) Listen(ctx context.Context) (err error) {
|
|||||||
event := make(chan struct{}, 1)
|
event := make(chan struct{}, 1)
|
||||||
go nw.checkChanges(ctx, event, nexthop4, nexthop6)
|
go nw.checkChanges(ctx, event, nexthop4, nexthop6)
|
||||||
|
|
||||||
log.Infof("start to watching for network changes")
|
log.Infof("start watching for network changes")
|
||||||
// debounce changes
|
// debounce changes
|
||||||
timer := time.NewTimer(0)
|
timer := time.NewTimer(0)
|
||||||
timer.Stop()
|
timer.Stop()
|
||||||
|
|||||||
Reference in New Issue
Block a user