diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 04:19:25 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-14 04:19:25 +0200 |
commit | 25df2e6942b6fc2066d76b672956cb480affad11 (patch) | |
tree | 47a92d8c02ce0f8e6b394a8dce007e65b52fd3bd /device.go | |
parent | b76ab82539ddaceefdb095a0959e52a66075fc0e (diff) |
Shorthand for empty channels
Diffstat (limited to 'device.go')
-rw-r--r-- | device.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ func NewDevice(tun TUNDevice, logger *Logger) *Device { // prepare signals - device.signals.stop = make(chan struct{}, 0) + device.signals.stop = make(chan struct{}) // prepare net |