浏览代码

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

Simon Frei 3 年之前
父节点
当前提交
bcd91f536e
共有 1 个文件被更改,包括 1 次插入0 次删除
  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,
 		tlsCfg:               tlsCfg,
 		discoverer:           discoverer,
 		discoverer:           discoverer,
 		conns:                make(chan internalConn),
 		conns:                make(chan internalConn),
+		hellos:               make(chan *connWithHello),
 		bepProtocolName:      bepProtocolName,
 		bepProtocolName:      bepProtocolName,
 		tlsDefaultCommonName: tlsDefaultCommonName,
 		tlsDefaultCommonName: tlsDefaultCommonName,
 		limiter:              newLimiter(myID, cfg),
 		limiter:              newLimiter(myID, cfg),