]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
global: use netip where possible now
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 5 Nov 2021 00:52:54 +0000 (01:52 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 23 Nov 2021 21:03:15 +0000 (22:03 +0100)
commitef8d6804d77d9ce09f0e2c7f6d85bbe222712b73
tree5b4a3b53dfb092f10cf11fbe0b5724f58df3a1bf
parentde7c702ace45b8eeba7f4de8ecd9c85c80806264
global: use netip where possible now

There are more places where we'll need to add it later, when Go 1.18
comes out with support for it in the "net" package. Also, allowedips
still uses slices internally, which might be suboptimal.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
22 files changed:
conn/bind_linux.go
conn/bind_std.go
conn/bind_windows.go
conn/bindtest/bindtest.go
conn/conn.go
device/allowedips.go
device/allowedips_rand_test.go
device/allowedips_test.go
device/device_test.go
device/endpoint_test.go
device/receive.go
device/uapi.go
go.mod
go.sum
ratelimiter/ratelimiter.go
ratelimiter/ratelimiter_test.go
tun/netstack/examples/http_client.go
tun/netstack/examples/http_server.go
tun/netstack/go.mod
tun/netstack/go.sum
tun/netstack/tun.go
tun/tuntest/tuntest.go