go.net/internal/nettest: add ProtocolNotSupported function
Moves from go.net/ipv4 pacakge to here, we use this function not only for ipv4 testing but ipv6 testing. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/169150043
Showing
Please
register
or
sign in
to comment