1
0
mirror of https://github.com/golang/go synced 2024-11-20 04:04:41 -07:00

net: fix typo

Fixes #819.

R=rsc
CC=golang-dev
https://golang.org/cl/1421041
This commit is contained in:
Andrew Gerrand 2010-05-31 07:05:41 +02:00
parent 24566d4236
commit a63f73c196

View File

@ -155,7 +155,7 @@ func Dial(net, laddr, raddr string) (c Conn, err os.Error) {
return nil, err
}
return c, nil
case "udp", "udp4", "upd6":
case "udp", "udp4", "udp6":
var la, ra *UDPAddr
if laddr != "" {
if la, err = ResolveUDPAddr(laddr); err != nil {