4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-03 09:37:47 +00:00

Update nodeinfo in router reconfigure

This commit is contained in:
Neil Alexander
2019-01-14 18:51:49 +00:00
parent 9e186bdd67
commit 5cde3b5efc
2 changed files with 7 additions and 2 deletions

View File

@ -127,7 +127,9 @@ func (r *router) mainLoop() {
case f := <-r.admin:
f()
case e := <-r.reconfigure:
e <- nil
r.core.configMutex.RLock()
e <- r.core.nodeinfo.setNodeInfo(r.core.config.NodeInfo, r.core.config.NodeInfoPrivacy)
r.core.configMutex.RUnlock()
}
}
}