]> Cypherpunks repositories - gostls13.git/commit
net: fixes to dnsReadConfig in dnsconfig_windows.go
authorQuentin McGaw <quentin.mcgaw@gmail.com>
Wed, 29 Nov 2023 21:44:34 +0000 (21:44 +0000)
committerQuim Muntal <quimmuntal@gmail.com>
Fri, 15 Mar 2024 10:25:02 +0000 (10:25 +0000)
commitd98b444839320302d35ddc9e0b56595f7e7da3d9
tree4798a8f92bee22d19e3fced23234f44a7930cc83
parentc9ed561db438ba413ba8cfac0c292a615bda45a8
net: fixes to dnsReadConfig in dnsconfig_windows.go

- Only search DNS servers for network interfaces with at least one gateway
- Clarify comment on deprecated site local anycast fec0/10 DNS IPv6 addresses
- Minor maintenance: skip not "up" interfaces earlier in outer loop

Change-Id: I98ca7b81d3d51e6aa6bfa4a10dcd651305a843df
GitHub-Last-Rev: 3b358c7e3f89971d069286f997dc19e092ec8f08
GitHub-Pull-Request: golang/go#64441
Reviewed-on: https://go-review.googlesource.com/c/go/+/545775
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/internal/syscall/windows/syscall_windows.go
src/net/dnsconfig_windows.go
src/net/interface_windows.go