mirror of
https://github.com/fumiama/water.git
synced 2026-06-27 07:20:25 +08:00
use blocking mode pre-go1.11
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user