aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_linux.go
diff options
context:
space:
mode:
authorMateusz Poliwczak <mpoliwczak34@gmail.com>2022-12-20 15:24:06 +0000
committerGopher Robot <gobot@golang.org>2022-12-21 03:49:27 +0000
commit78fc81070a853d08a71f70fa20b2093f5535e6c5 (patch)
treef21117aca1cb8aa7d6ef18e440e8f33669c10c0c /src/syscall/syscall_linux.go
parenta5a47442502e8e42b390f458f8f91dea3de872eb (diff)
downloadgo-78fc81070a853d08a71f70fa20b2093f5535e6c5.tar.xz
net: use correct dns msg size
Set bufSize to the actual dns message size, so that the p.Start (below) gets a fully valid dns message. Change-Id: I585e8a3d71f88db93e09bd0dbbc0875ee6de9a97 GitHub-Last-Rev: 0967be35012d2e28366e6d47eee4968c7e8d5e4a GitHub-Pull-Request: golang/go#57392 Reviewed-on: https://go-review.googlesource.com/c/go/+/458375 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/syscall/syscall_linux.go')
0 files changed, 0 insertions, 0 deletions