aboutsummaryrefslogtreecommitdiff
path: root/device/device_test.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/device_test.go
parent23d4e52ac97fc7e4e7c47d4e277693c516c3b420 (diff)
downloadwireguard-go-jd/netip-go118.tar.gz
wireguard-go-jd/netip-go118.zip
global: use Go 1.18's netip helpersjd/netip-go118
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/device_test.go')
-rw-r--r--device/device_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/device_test.go b/device/device_test.go
index 84221be..5439924 100644
--- a/device/device_test.go
+++ b/device/device_test.go
@@ -11,6 +11,7 @@ import (
"fmt"
"io"
"math/rand"
+ "net/netip"
"runtime"
"runtime/pprof"
"sync"
@@ -18,7 +19,6 @@ import (
"testing"
"time"
- "golang.zx2c4.com/go118/netip"
"golang.zx2c4.com/wireguard/conn"
"golang.zx2c4.com/wireguard/conn/bindtest"
"golang.zx2c4.com/wireguard/tun/tuntest"