From 400d62c1e6d988e16510875f24e50752c5f5ee88 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Thu, 17 Jun 2021 19:13:57 +0200 Subject: [PATCH] lib/connections: Missed map init in nextDialAt (ref #7753) (#7778) --- lib/connections/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/connections/service.go b/lib/connections/service.go index 565815c7c..4734e598a 100644 --- a/lib/connections/service.go +++ b/lib/connections/service.go @@ -1085,6 +1085,7 @@ func (r nextDialRegistry) redialDevice(device protocol.DeviceID, now time.Time) dev, ok := r[device] if !ok { r[device] = nextDialDevice{ + nextDial: make(map[string]time.Time), coolDownIntervalStart: now, attempts: 1, }