From 15128573486f397b99b7744758e6676330558163 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 27 Jan 2022 13:45:36 +1100 Subject: [PATCH] Include peer net.Conn endpoint addresses in webrtc conn string --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.44.0