diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-03-16 14:28:08 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-03-16 14:30:49 +0900 |
commit | 262a736e2fe1090dfc4ba52e74e1aaac9fca7fc2 (patch) | |
tree | 38264391a46385d9ac9a72d8e8319a83695d4f87 | |
parent | c0551cffebdf0accc71a4f0b0bf56c374176328c (diff) |
server: fix compile error on non-linux platform
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r-- | server/sockopt_nonlinux.go | 2 |
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") } |