mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-09 02:20:10 +08:00
Shorthand for empty channels
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user