mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-29 15:31:35 +00:00
Fix missing nodeinfo.init
This commit is contained in:
parent
4fba558638
commit
c85dbaea95
@ -86,6 +86,7 @@ func (r *router) init(core *Core) {
|
|||||||
r.send = send
|
r.send = send
|
||||||
r.reset = make(chan struct{}, 1)
|
r.reset = make(chan struct{}, 1)
|
||||||
r.admin = make(chan func(), 32)
|
r.admin = make(chan func(), 32)
|
||||||
|
r.nodeinfo.init(r.core)
|
||||||
r.core.configMutex.RLock()
|
r.core.configMutex.RLock()
|
||||||
r.nodeinfo.setNodeInfo(r.core.config.NodeInfo, r.core.config.NodeInfoPrivacy)
|
r.nodeinfo.setNodeInfo(r.core.config.NodeInfo, r.core.config.NodeInfoPrivacy)
|
||||||
r.core.configMutex.RUnlock()
|
r.core.configMutex.RUnlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user