Skip to content

Commit

Permalink
webrtcprivate: fix rcmgr scope useFD param
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Oct 12, 2023
1 parent e206f5f commit 5adc210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/transport/webrtcprivate/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (l *listener) handleSignalingStream(s network.Stream) {
defer cancel()
defer s.Close()

scope, err := l.transport.rcmgr.OpenConnection(network.DirInbound, false, ma.StringCast("/webrtc")) // we don't have a better remote adress right now
scope, err := l.transport.rcmgr.OpenConnection(network.DirInbound, true, ma.StringCast("/webrtc")) // we don't have a better remote adress right now
if err != nil {
s.Reset()
log.Debug("failed to create connection scope:", err)
Expand Down

0 comments on commit 5adc210

Please sign in to comment.