diff options
| author | Josh Rickmar <jrick@companyzero.com> | 2021-03-26 13:17:36 +0000 |
|---|---|---|
| committer | Tobias Klauser <tobias.klauser@gmail.com> | 2021-04-12 21:26:59 +0000 |
| commit | 5c9b6e8e63e012513b1cb1a4a08ff23dec4137a1 (patch) | |
| tree | 3259e64a05fd3c5f0c7ac9579fe918ea01ced37a /src/internal/execabs/execabs_test.go | |
| parent | 3e8ba91275cdeb0af4c8b30f9cc788fd42cfbbd3 (diff) | |
| download | go-5c9b6e8e63e012513b1cb1a4a08ff23dec4137a1.tar.xz | |
net: never probe IPv4 map support on DragonFly BSD, OpenBSD
DragonFly BSD and OpenBSD do not implement mapping IPv4 addresses to
the IPv6 address space, and a runtime check can be avoided.
As the IP stack capabilities probe was only being called from
supportsIPv4map to check for this support, the OS-specific handling
can be added to this function rather than continuing to run the probe.
Change-Id: I5800c197b1be502a6efa79e3edd6356bde8637fb
GitHub-Last-Rev: 7eb67189cd955fb12382a6f2a05f324d2747dcc3
GitHub-Pull-Request: golang/go#45243
Reviewed-on: https://go-review.googlesource.com/c/go/+/304870
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/internal/execabs/execabs_test.go')
0 files changed, 0 insertions, 0 deletions
