summaryrefslogtreecommitdiffhomepage
path: root/server/sockopt_nonlinux.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-03-16 14:28:08 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-03-16 14:30:49 +0900
commit262a736e2fe1090dfc4ba52e74e1aaac9fca7fc2 (patch)
tree38264391a46385d9ac9a72d8e8319a83695d4f87 /server/sockopt_nonlinux.go
parentc0551cffebdf0accc71a4f0b0bf56c374176328c (diff)
server: fix compile error on non-linux platform
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/sockopt_nonlinux.go')
-rw-r--r--server/sockopt_nonlinux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sockopt_nonlinux.go b/server/sockopt_nonlinux.go
index 14128f57..4ac4e44d 100644
--- a/server/sockopt_nonlinux.go
+++ b/server/sockopt_nonlinux.go
@@ -22,6 +22,6 @@ import (
"net"
)
-func DialTCPTimeoutWithMD5Sig(host string, port int, key string, msec int) (*net.TCPConn, error) {
+func DialTCPTimeoutWithMD5Sig(host string, port int, localAddr, key string, msec int) (*net.TCPConn, error) {
return nil, fmt.Errorf("md5 active connection unsupported")
}