Shorthand for empty channels
This commit is contained in:
parent
b76ab82539
commit
25df2e6942
3 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue