This commit is contained in:
Matthias Radestock committed 2014-12-01 12:56:02 +00:00
1 parent 89a1e0fb24
commit 89317a24ee
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,