diff options
| author | database64128 <free122448@hotmail.com> | 2022-04-29 17:29:58 +0000 |
|---|---|---|
| committer | Ian Lance Taylor <iant@google.com> | 2022-07-26 20:27:23 +0000 |
| commit | faf4e97200df9415d55b04924ce77599f9e6fdfa (patch) | |
| tree | 21841bb043106d6906901da2f504ee86463af7d9 /src/os/exec/exec.go | |
| parent | caa225dd297a467b0d720d5f1d63050e49061ad3 (diff) | |
| download | go-faf4e97200df9415d55b04924ce77599f9e6fdfa.tar.xz | |
net: fix WriteMsgUDPAddrPort addr handling
WriteMsgUDPAddrPort should accept IPv4 target addresses on IPv6 UDP sockets.
An IPv4 target address will be converted to an IPv4-mapped IPv6 address.
Fixes #52264.
Change-Id: Ib9ed4c61fa1289ae7bbc8c4c9de1a9951b647ec0
GitHub-Last-Rev: 6776fdb0a76faa71ebde58f5143fb1ffb3112adf
GitHub-Pull-Request: golang/go#52265
Reviewed-on: https://go-review.googlesource.com/c/go/+/399454
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
