do not recreate tun device when connecting to server failed
This commit is contained in:
@ -16,6 +16,10 @@ import (
|
||||
"github.com/songgao/water/waterutil"
|
||||
)
|
||||
|
||||
var (
|
||||
ErrTun = errors.New("tun device error")
|
||||
)
|
||||
|
||||
func init() {
|
||||
registry.HandlerRegistry().Register("tun", NewHandler)
|
||||
}
|
||||
|
Reference in New Issue
Block a user