diff options
Diffstat (limited to 'tun_linux.go')
-rw-r--r-- | tun_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun_linux.go b/tun_linux.go index a243a03..18fb72c 100644 --- a/tun_linux.go +++ b/tun_linux.go @@ -399,7 +399,7 @@ func CreateTUNFromFile(fd *os.File) (TUNDevice, error) { fd: fd, events: make(chan TUNEvent, 5), errors: make(chan error, 5), - statusListenersShutdown: make(chan struct{}, 0), + statusListenersShutdown: make(chan struct{}), nopi: false, } var err error |