From: Matt Joiner Date: Thu, 15 Feb 2018 05:04:42 +0000 (+1100) Subject: Change some connection flag strings to avoid collision X-Git-Tag: v1.0.0~170 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3f7eab00de6d44df522ed62a1417dafb44e0542d;p=btrtrc.git Change some connection flag strings to avoid collision --- diff --git a/connection.go b/connection.go index f70e0848..67b32bce 100644 --- a/connection.go +++ b/connection.go @@ -28,7 +28,7 @@ import ( type peerSource string const ( - peerSourceTracker = "T" // It's the default. + peerSourceTracker = "Tr" peerSourceIncoming = "I" peerSourceDHTGetPeers = "Hg" peerSourceDHTAnnouncePeer = "Ha" @@ -180,7 +180,7 @@ func (cn *connection) connectionFlags() (ret string) { } ret += string(cn.Discovery) if cn.uTP { - c('T') + c('U') } return }