diff --git a/src/net/ip_test.go b/src/net/ip_test.go index 60329e9cfef1ae05fa6288c8441f0785435ce680..95dd109e28ca604597804784378153a90ca0e31d 100644 --- a/src/net/ip_test.go +++ b/src/net/ip_test.go @@ -129,7 +129,7 @@ func TestMarshalEmptyIP(t *testing.T) { } } -var ipStringTests = []struct { +var ipStringTests = []*struct { in IP // see RFC 791 and RFC 4291 str string // see RFC 791, RFC 4291 and RFC 5952 byt []byte