Include peer net.Conn endpoint addresses in webrtc conn string
This commit is contained in:
parent
c47e6b1f60
commit
1512857348
|
@ -1548,7 +1548,7 @@ func (t *Torrent) onWebRtcConn(
|
||||||
false,
|
false,
|
||||||
netConn.RemoteAddr(),
|
netConn.RemoteAddr(),
|
||||||
webrtcNetwork,
|
webrtcNetwork,
|
||||||
fmt.Sprintf("webrtc offer_id %x", dcc.OfferId),
|
fmt.Sprintf("webrtc offer_id %x: %v", dcc.OfferId, regularNetConnPeerConnConnString(netConn)),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.logger.WithDefaultLevel(log.Error).Printf("error in handshaking webrtc connection: %v", err)
|
t.logger.WithDefaultLevel(log.Error).Printf("error in handshaking webrtc connection: %v", err)
|
||||||
|
|
Loading…
Reference in New Issue