From 89317a24ee7f7c063033538c5dc22feee388b504 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Mon, 1 Dec 2014 12:56:02 +0000 Subject: [PATCH] oops --- router/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/utils.go b/router/utils.go index 7774f242..60f6a603 100644 --- a/router/utils.go +++ b/router/utils.go @@ -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,