From 2d74bb4cfa3287989b3d1cc3cb158d3b810afc8d Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Fri, 27 Mar 2015 07:10:32 +0000 Subject: [PATCH] one more name->name+nickname display conversion --- router/handshake.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/handshake.go b/router/handshake.go index a86664c1..ccb638bb 100644 --- a/router/handshake.go +++ b/router/handshake.go @@ -102,7 +102,7 @@ func (conn *LocalConnection) handshake(enc *gob.Encoder, dec *gob.Decoder, accep } } if existingConn, found := conn.local.ConnectionTo(name); found && existingConn.Established() { - return fmt.Errorf("Already have connection to %s at %s", name, existingConn.RemoteTCPAddr()) + return fmt.Errorf("Already have connection to %s at %s", existingConn.Remote().FullName(), existingConn.RemoteTCPAddr()) } uid, err := strconv.ParseUint(uidStr, 10, 64) if err != nil {