diff options
| author | Mateusz Poliwczak <mpoliwczak34@gmail.com> | 2022-11-17 08:49:32 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-11-17 21:42:39 +0000 |
| commit | 3e5c2c155645ebaed62e4481430c455045b0fff5 (patch) | |
| tree | 9cfc0a59ad7411ed1e149e59afc9be09ba7278e3 /src/runtime/lfstack_test.go | |
| parent | 1f4394a0c92697896735a5c0135dfde1be9f42bd (diff) | |
| download | go-3e5c2c155645ebaed62e4481430c455045b0fff5.tar.xz | |
net: return errNoSuchHost when no entry found in /etc/hosts and order is hostLookupFiles
When /etc/nsswitch.conf lists: "hosts: files" then LookupHost returns two nils when no entry inside /etc/hosts is found.
Change-Id: I96d68a079dfe009655c84cf0e697ce19a5bb6698
GitHub-Last-Rev: 894f066bbcc7c975f1975bd0d1dcb5726f590bc5
GitHub-Pull-Request: golang/go#56747
Reviewed-on: https://go-review.googlesource.com/c/go/+/450875
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime/lfstack_test.go')
0 files changed, 0 insertions, 0 deletions
