From 68e47c4bea863435e99b9c95f63b65d754bc34b0 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.48.1