use blocking mode pre-go1.11

This commit is contained in:
Song Gao 2019-03-31 15:42:28 -07:00
parent 240a3d7b51
commit 3fe638a7bf
13 changed files with 132 additions and 95 deletions

View file

@ -306,11 +306,3 @@ func openDev(config Config) (ifce *Interface, err error) {
return nil, errIfceNameNotFound
}
func newTAP(config Config) (ifce *Interface, err error) {
return openDev(config)
}
func newTUN(config Config) (ifce *Interface, err error) {
return openDev(config)
}