]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: use container/list instead of open coding it
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 10 Feb 2021 17:19:11 +0000 (18:19 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 10 Feb 2021 17:19:11 +0000 (18:19 +0100)
commit75e6d810edd3026b60fb3ca7b759236e555c2d0d
treee9f71167b2d60f7477dbba075abc0096304f1fbb
parent747f5440bc18492a63eb91cba7db72b16c96176d
device: use container/list instead of open coding it

This linked list implementation is awful, but maybe Go 2 will help
eventually, and at least we're not open coding the hlist any more.

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