Fixed TUN interface implementation os OS X

This commit is contained in:
Mathias Hall-Andersen
2017-09-03 18:10:06 +02:00
parent c24b883c01
commit 89d0045214
3 changed files with 91 additions and 30 deletions

View File

@@ -18,12 +18,6 @@ const (
socketName = "%s.sock"
)
/* TODO:
* This code can be improved by using fsnotify once:
* https://github.com/fsnotify/fsnotify/pull/205
* Is merged
*/
type UAPIListener struct {
listener net.Listener // unix socket listener
connNew chan net.Conn