Skip to content

Commit

Permalink
Fix comment and error name
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Daniels <eric@erdaniels.com>
  • Loading branch information
stv0g and edaniels committed Feb 8, 2023
1 parent 69c6b0e commit 228c31f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gather.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ func (a *Agent) gatherCandidatesRelay(ctx context.Context, urls []*URL) { //noli

udpConn, dialErr := a.net.DialUDP("udp", nil, udpAddr)
if dialErr != nil {
a.log.Warnf("Failed to dial DTLS Address %s: %v", TURNServerAddr, connectErr)
a.log.Warnf("Failed to dial DTLS Address %s: %v", TURNServerAddr, dialErr)
return
}

Expand Down
2 changes: 1 addition & 1 deletion udp_mux_multi.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func UDPMuxFromPortWithLoopback() UDPMuxFromPortOption {
}
}

// UDPMuxFromPortWithNet set loopback interface should be included
// UDPMuxFromPortWithNet sets the network transport to use.
func UDPMuxFromPortWithNet(n transport.Net) UDPMuxFromPortOption {
return &udpMuxFromPortOption{
f: func(p *multiUDPMuxFromPortParam) {
Expand Down

0 comments on commit 228c31f

Please sign in to comment.