[BUGFIX] fix no id in graph.json (#31)
This commit is contained in:
parent
56b14bfe60
commit
ed049cfb55
@ -68,7 +68,7 @@ func (builder *graphBuilder) readNodes(nodes map[string]*Node) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(nodeinfo.Network.Mac) > 0 {
|
if len(nodeinfo.Network.Mac) > 0 {
|
||||||
builder.macToID[sourceID] = nodeinfo.Network.Mac
|
builder.idToMac[sourceID] = nodeinfo.Network.Mac
|
||||||
}
|
}
|
||||||
|
|
||||||
// Batman neighbours
|
// Batman neighbours
|
||||||
|
Loading…
Reference in New Issue
Block a user