aboutsummaryrefslogtreecommitdiff
path: root/device/allowedips.go
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:32:05 +0100
commitb51df1025175ef4b81dd1ecbb9d7ed389b8d1297 (patch)
tree8c33db634b1745c7b59b75a2af7f9af007d837e9 /device/allowedips.go
parent23d4e52ac97fc7e4e7c47d4e277693c516c3b420 (diff)
downloadwireguard-go-b51df1025175ef4b81dd1ecbb9d7ed389b8d1297.tar.gz
wireguard-go-b51df1025175ef4b81dd1ecbb9d7ed389b8d1297.zip
global: use Go 1.18's netip helpersjd/netip-go118
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/allowedips.go')
-rw-r--r--device/allowedips.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/device/allowedips.go b/device/allowedips.go
index a6534b1..95dde63 100644
--- a/device/allowedips.go
+++ b/device/allowedips.go
@@ -10,10 +10,9 @@ import (
"errors"
"math/bits"
"net"
+ "net/netip"
"sync"
"unsafe"
-
- "golang.zx2c4.com/go118/netip"
)
type parentIndirection struct {