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.42.0~8^2^2~11^2^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=15128573486f397b99b7744758e6676330558163;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)