diff --git a/cmd/stunc/stunc.go b/cmd/stunc/stunc.go index f140ede19..81edb1d24 100644 --- a/cmd/stunc/stunc.go +++ b/cmd/stunc/stunc.go @@ -20,7 +20,7 @@ func main() { } host := os.Args[1] - uaddr, err := net.ResolveUDPAddr("udp", host+":3478") + uaddr, err := net.ResolveUDPAddr("udp", net.JoinHostPort(host, "3478")) if err != nil { log.Fatal(err) }