[BUGFIX] fix no id in graph.json (#31)

This commit is contained in:
Geno 2017-03-07 11:47:41 +01:00 committed by GitHub
parent 56b14bfe60
commit ed049cfb55
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func (builder *graphBuilder) readNodes(nodes map[string]*Node) {
}
if len(nodeinfo.Network.Mac) > 0 {
builder.macToID[sourceID] = nodeinfo.Network.Mac
builder.idToMac[sourceID] = nodeinfo.Network.Mac
}
// Batman neighbours