aboutsummaryrefslogtreecommitdiff
path: root/src/net/hook_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/hook_unix.go')
-rw-r--r--src/net/hook_unix.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/hook_unix.go b/src/net/hook_unix.go
index 361ca5980c..cf52567fcf 100644
--- a/src/net/hook_unix.go
+++ b/src/net/hook_unix.go
@@ -9,7 +9,8 @@ package net
import "syscall"
var (
- testHookDialChannel = func() {} // see golang.org/issue/5349
+ testHookDialChannel = func() {} // for golang.org/issue/5349
+ testHookCanceledDial = func() {} // for golang.org/issue/16523
// Placeholders for socket system calls.
socketFunc func(int, int, int) (int, error) = syscall.Socket