lib/connections: Create the forgotten channel (ref #8263) (#8267)

This commit is contained in:
Simon Frei
2022-04-11 15:32:22 +02:00
committed by GitHub
parent f9c6c69fa8
commit bcd91f536e

View File

@@ -184,6 +184,7 @@ func NewService(cfg config.Wrapper, myID protocol.DeviceID, mdl Model, tlsCfg *t
tlsCfg: tlsCfg,
discoverer: discoverer,
conns: make(chan internalConn),
hellos: make(chan *connWithHello),
bepProtocolName: bepProtocolName,
tlsDefaultCommonName: tlsDefaultCommonName,
limiter: newLimiter(myID, cfg),