diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2016-11-18 19:18:09 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2016-11-18 19:18:09 +0100 |
| commit | dbc7ff38051cba31976238c743b1d8c53ce64470 (patch) | |
| tree | 4f89c8a0ae42178d472de1282a8dc8f8de7d7830 /syz-hub/hub.go | |
| parent | e8de4be40738202695638f25c3607b2022c211c9 (diff) | |
manager: unbreak build
Diffstat (limited to 'syz-hub/hub.go')
| -rw-r--r-- | syz-hub/hub.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/syz-hub/hub.go b/syz-hub/hub.go index a203149c5..bb5128727 100644 --- a/syz-hub/hub.go +++ b/syz-hub/hub.go @@ -11,6 +11,7 @@ import ( "net" "net/rpc" "sync" + "time" . "github.com/google/syzkaller/log" . "github.com/google/syzkaller/rpctype" @@ -71,8 +72,8 @@ func main() { Logf(0, "failed to accept an rpc connection: %v", err) continue } - conn.SetKeepAlive(true) - conn.SetKeepAlivePeriod(time.Minute) + conn.(*net.TCPConn).SetKeepAlive(true) + conn.(*net.TCPConn).SetKeepAlivePeriod(time.Minute) go s.ServeConn(conn) } } |
