4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-07 01:04:07 +00:00

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
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
}