Revert "Remove stillAlive code from TUN/TAP conn as it is no longer required with the new deadlines"

This reverts commit eec70bf2f2.
This commit is contained in:
Neil Alexander 2019-07-17 19:43:29 +01:00
parent eec70bf2f2
commit 1bf1c6eb36
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 36 additions and 10 deletions

View file

@ -259,6 +259,7 @@ func (tun *TunAdapter) wrap(conn *yggdrasil.Conn) (c *tunConn, err error) {
// Start the connection goroutines
go s.reader()
go s.writer()
go s.checkForTimeouts()
// Return
return c, err
}