diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-10 00:21:12 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-02-10 00:21:12 +0100 |
commit | 5bf8d731273e0c03b84b6424f00e70b87afb248f (patch) | |
tree | 694d94e311359a72789e2387a9c992bc757bca12 /rwcancel/rwcancel.go | |
parent | 587a2b2a2028430893f14f9ac49e1efa5e3f8509 (diff) | |
download | wireguard-go-5bf8d731273e0c03b84b6424f00e70b87afb248f.tar.gz wireguard-go-5bf8d731273e0c03b84b6424f00e70b87afb248f.zip |
device: create peer queues at peer creation time
Rather than racing with Start(), since we're never destroying these
queues, we just set the variables at creation time.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'rwcancel/rwcancel.go')
0 files changed, 0 insertions, 0 deletions