From b94bbf7f43100edb6725969ac613906ba25097cf Mon Sep 17 00:00:00 2001 From: Fulvio Date: Tue, 29 Mar 2022 20:56:01 +0200 Subject: [PATCH] remove DualStack field from check TCP #12629 (#12630) --- agent/checks/check.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/agent/checks/check.go b/agent/checks/check.go index 5bc00bc186..8f910901ff 100644 --- a/agent/checks/check.go +++ b/agent/checks/check.go @@ -644,8 +644,7 @@ func (c *CheckTCP) Start() { if c.dialer == nil { // Create the socket dialer c.dialer = &net.Dialer{ - Timeout: 10 * time.Second, - DualStack: true, + Timeout: 10 * time.Second, } if c.Timeout > 0 { c.dialer.Timeout = c.Timeout