]> Cypherpunks repositories - gostls13.git/commitdiff
test: another listen on ":0" -> "127.0.0.1:0"
authorRuss Cox <rsc@golang.org>
Mon, 21 Jun 2010 23:34:55 +0000 (16:34 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 21 Jun 2010 23:34:55 +0000 (16:34 -0700)
R=r
CC=golang-dev
https://golang.org/cl/1664043

test/fixedbugs/bug243.go

index 837b91035f704915152758aac61c6c90863b3324..30dbc4ed4d36695c70ca2dc472bcd008eb001e94 100644 (file)
@@ -15,7 +15,7 @@ import (
 
 func main() {
        os.Stdout.Close()
-       var listen, _ = net.Listen("tcp", ":0")
+       var listen, _ = net.Listen("tcp", "127.0.0.1:0")
 
        go func() {
                for {