Merge branch 'master' into refactor_and_explain_route_calculation

This commit is contained in:
Matthias Radestock committed 2014-12-01 13:50:34 +00:00
commit 9e2123fa4e
1 file changed
+1 -1
+1 -1
View File
@@ -99,7 +99,7 @@ func (lop ListOfPeers) Swap(i, j int) {
lop[i], lop[j] = lop[j], lop[i]
}
func (lop ListOfPeers) Less(i, j int) bool {
return lop[i].Name < lop[i].Name
return lop[i].Name < lop[j].Name
}
// given an address like '1.2.3.4:567', return the address if it has a port,