]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: allow compiling with Go 1.15
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Jan 2021 19:04:31 +0000 (20:04 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Jan 2021 19:12:32 +0000 (20:12 +0100)
commit294d3bedf959c9c496aaa877919a762acf07c684
tree7a8b17097052e46d558511e85c0d392bfa571f01
parent86a58b51c027feb3bf8836359fb3adf1c436c53d
device: allow compiling with Go 1.15

Until we depend on Go 1.16 (which isn't released yet), alias our own
variable to the private member of the net package. This will allow an
easy find replace to make this go away when we eventually switch to
1.16.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
conn/conn_linux.go
conn/net_err_closed.go [new file with mode: 0644]
device/receive.go
go.mod