Skip to content

Commit 9763c28

Browse files
OmarTariq612Sean-Der
authored andcommitted
Remove stun scheme from default server flag
calling `net.ResolveUDPAddr` with `stun:stun.voipgate.com:3478` results in this error `too many colons in address`.
1 parent 35179f1 commit 9763c28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/stun-traversal/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"github.com/pion/stun/v3"
1818
)
1919

20-
var server = flag.String("server", "stun:stun.voipgate.com:3478", "Stun server address") //nolint:gochecknoglobals
20+
var server = flag.String("server", "stun.voipgate.com:3478", "Stun server address") //nolint:gochecknoglobals
2121

2222
const (
2323
udp = "udp4"

0 commit comments

Comments
 (0)