Commit b4a8b353 authored by Russ Cox's avatar Russ Cox

net: disable ipv6 test if we know kernel won't take it.

R=agl, agl1
CC=golang-dev
https://golang.org/cl/153048
parent 9dba6956
......@@ -80,6 +80,10 @@ func TestDialGoogle(t *testing.T) {
preferIPv4 = false;
}
}
doDial(t, "tcp6", addr);
// Only run tcp6 if the kernel will take it.
if kernelSupportsIPv6() {
doDial(t, "tcp6", addr)
}
}
}
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