Ver Fonte

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

Simon Frei há 3 anos atrás
pai
commit
bcd91f536e
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      lib/connections/service.go

+ 1 - 0
lib/connections/service.go

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