aboutsummaryrefslogtreecommitdiff
path: root/src/net/dnsclient_unix_test.go
diff options
context:
space:
mode:
authorCarlos Amedee <carlos@golang.org>2022-03-07 12:32:05 -0500
committerCarlos Amedee <carlos@golang.org>2022-03-07 12:32:05 -0500
commit649671b08fbd49bcf65578b18d188d55779e6eca (patch)
tree14c9e6c56ddedcb47ae9d44668144f2367638afa /src/net/dnsclient_unix_test.go
parent7e420ce576031db5c4562010254f9c8c4c5eb03e (diff)
parent7de0c90a1771146bcba5663fb257c52acffe6161 (diff)
downloadgo-649671b08fbd49bcf65578b18d188d55779e6eca.tar.gz
go-649671b08fbd49bcf65578b18d188d55779e6eca.zip
[dev.boringcrypto.go1.16] all: merge go1.16.15 into dev.boringcrypto.go1.16dev.boringcrypto.go1.16
Change-Id: I574f47761ceb4e224a2a31b5096e27126f171238
Diffstat (limited to 'src/net/dnsclient_unix_test.go')
-rw-r--r--src/net/dnsclient_unix_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/dnsclient_unix_test.go b/src/net/dnsclient_unix_test.go
index e7f7621a093..e8afbbe29e2 100644
--- a/src/net/dnsclient_unix_test.go
+++ b/src/net/dnsclient_unix_test.go
@@ -881,7 +881,7 @@ func (f *fakeDNSPacketConn) Close() error {
func TestIgnoreDNSForgeries(t *testing.T) {
c, s := Pipe()
go func() {
- b := make([]byte, 512)
+ b := make([]byte, maxDNSPacketSize)
n, err := s.Read(b)
if err != nil {
t.Error(err)