Commit ed45f193 authored by Mikio Hara's avatar Mikio Hara

x/net/ipv6: fix using wrong constant in test

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/174480043
parent 9f8bef6b
...@@ -106,7 +106,7 @@ func TestPacketConnChecksum(t *testing.T) { ...@@ -106,7 +106,7 @@ func TestPacketConnChecksum(t *testing.T) {
t.Skip("must be root") t.Skip("must be root")
} }
c, err := net.ListenPacket(fmt.Sprintf("ip6:%d", iana.ProtocolIPv6ICMP), "::") // OSPF for IPv6 c, err := net.ListenPacket(fmt.Sprintf("ip6:%d", iana.ProtocolOSPFIGP), "::") // OSPF for IPv6
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment