From: Matt Joiner Date: Thu, 27 Jan 2022 02:45:36 +0000 (+1100) Subject: Include peer net.Conn endpoint addresses in webrtc conn string X-Git-Tag: v1.41.0~20 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=68e47c4bea863435e99b9c95f63b65d754bc34b0;p=btrtrc.git Include peer net.Conn endpoint addresses in webrtc conn string --- diff --git a/torrent.go b/torrent.go index 3e74df63..744c65e4 100644 --- a/torrent.go +++ b/torrent.go @@ -1548,7 +1548,7 @@ func (t *Torrent) onWebRtcConn( false, netConn.RemoteAddr(), webrtcNetwork, - fmt.Sprintf("webrtc offer_id %x", dcc.OfferId), + fmt.Sprintf("webrtc offer_id %x: %v", dcc.OfferId, regularNetConnPeerConnConnString(netConn)), ) if err != nil { t.logger.WithDefaultLevel(log.Error).Printf("error in handshaking webrtc connection: %v", err)