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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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),