add keepalive for tun

This commit is contained in:
ginuerzh
2022-08-22 22:14:09 +08:00
parent dc36d50fb2
commit fe6554d8a3
5 changed files with 85 additions and 19 deletions

View File

@ -99,7 +99,6 @@ func (l *tunListener) listenLoop() {
if err != nil {
l.logger.Error(err)
cancel()
continue
}
select {