]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: flush peer queues before starting device
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 9 Feb 2021 23:39:28 +0000 (00:39 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 9 Feb 2021 23:39:28 +0000 (00:39 +0100)
commit484a9fd32494176526e0ffe81413e73362a6f92d
tree96bfde8f3f0f94e8d84ca9e811b01215df754dca
parent5bf8d731273e0c03b84b6424f00e70b87afb248f
device: flush peer queues before starting device

In case some old packets snuck in there before, this flushes before
starting afresh.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
device/channels.go
device/peer.go