summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/sockopt_linux_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/sockopt_linux_test.go')
-rw-r--r--pkg/server/sockopt_linux_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/sockopt_linux_test.go b/pkg/server/sockopt_linux_test.go
index a08e7fc7..ca72a98f 100644
--- a/pkg/server/sockopt_linux_test.go
+++ b/pkg/server/sockopt_linux_test.go
@@ -88,7 +88,7 @@ func Test_DialTCP_FDleak(t *testing.T) {
for i := 0; i < 10; i++ {
laddr, _ := net.ResolveTCPAddr("tcp", net.JoinHostPort("127.0.0.1", "0"))
- d := TCPDialer{
+ d := tcpDialer{
Dialer: net.Dialer{
LocalAddr: laddr,
Timeout: 1 * time.Second,