refactor: rename 'Topology' to 'Routes'

Since that is what it is. By contrast, when the docs talk about
topology they actually refer to the peer connectivity graph.
This commit is contained in:
Matthias Radestock committed 2014-12-24 19:12:01 +00:00
1 parent fc1ec6ada2
commit e8f836ad85
7 files changed
+56 -55

No files matched your search

+1 -1
View File
@@ -506,7 +506,7 @@ func (conn *LocalConnection) receiveTCP(decoder *gob.Decoder, usingPassword bool
return
}
if len(newUpdate) != 0 {
conn.Router.Topology.RebuildRoutes()
conn.Router.Routes.Recalculate()
conn.local.BroadcastTCP(Concat(ProtocolUpdateByte, newUpdate))
}
} else if msg[0] == ProtocolPMTUVerified {