global: use Go 1.18's netip helpers

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2021-11-05 01:52:54 +01:00
parent 23d4e52ac9
commit b51df10251
21 changed files with 41 additions and 58 deletions

View File

@@ -8,10 +8,9 @@ package device
import (
"math/rand"
"net"
"net/netip"
"sort"
"testing"
"golang.zx2c4.com/go118/netip"
)
const (