From 262a736e2fe1090dfc4ba52e74e1aaac9fca7fc2 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Wed, 16 Mar 2016 14:28:08 +0900 Subject: server: fix compile error on non-linux platform Signed-off-by: ISHIDA Wataru --- server/sockopt_nonlinux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sockopt_nonlinux.go') 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") } -- cgit v1.2.3