aboutsummaryrefslogtreecommitdiffstats
path: root/tun_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tun_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun_darwin.go b/tun_darwin.go
index 97668cf..b212e57 100644
--- a/tun_darwin.go
+++ b/tun_darwin.go
@@ -117,7 +117,7 @@ func CreateTUNFromFile(file *os.File) (TUNDevice, error) {
mtu: 1500,
events: make(chan TUNEvent, 10),
errors: make(chan error, 1),
- statusListenersShutdown: make(chan struct{}, 0),
+ statusListenersShutdown: make(chan struct{}),
}
_, err := tun.Name()