aboutsummaryrefslogtreecommitdiff
path: root/tun/netstack/go.mod
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-11-05 01:52:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-11-06 14:30:50 +0100
commit23d4e52ac97fc7e4e7c47d4e277693c516c3b420 (patch)
tree37fde134306c70b993147062694333bf5b99837d /tun/netstack/go.mod
parent851efb1bb65555e0f765a3361c8eb5ac47435b19 (diff)
downloadwireguard-go-23d4e52ac97fc7e4e7c47d4e277693c516c3b420.tar.gz
wireguard-go-23d4e52ac97fc7e4e7c47d4e277693c516c3b420.zip
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>
Diffstat (limited to 'tun/netstack/go.mod')
-rw-r--r--tun/netstack/go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/tun/netstack/go.mod b/tun/netstack/go.mod
index 8db9f4b..46b57ba 100644
--- a/tun/netstack/go.mod
+++ b/tun/netstack/go.mod
@@ -6,6 +6,7 @@ require (
golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6
golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7 // indirect
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
+ golang.zx2c4.com/go118/netip v0.0.0-20211105124833-002a02cb0e53
golang.zx2c4.com/wireguard v0.0.0-20210424170727-c9db4b7aaa22
gvisor.dev/gvisor v0.0.0-20211020211948-f76a604701b6
)