mirror of
https://github.com/netbirdio/ice.git
synced 2026-05-22 17:10:58 -07:00
Fix comment and error name
Co-authored-by: Eric Daniels <eric@erdaniels.com>
This commit is contained in:
co-authored by
Eric Daniels
parent
69c6b0ee66
commit
228c31f051
@@ -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
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user