wgengine/filter, wgengine/magicsock: use new IP.BitLen to simplify some code

This commit is contained in:
Brad Fitzpatrick
2020-12-15 12:12:56 -08:00
parent afcf134812
commit fa412c8760
4 changed files with 15 additions and 28 deletions

2
go.mod
View File

@@ -39,6 +39,6 @@ require (
golang.org/x/tools v0.0.0-20201211185031-d93e913c1a58
golang.zx2c4.com/wireguard/windows v0.1.2-0.20201113162609-9b85be97fdf8
honnef.co/go/tools v0.1.0
inet.af/netaddr v0.0.0-20201123222344-3c8588dd0e81
inet.af/netaddr v0.0.0-20201215200150-7aef11fabe72
rsc.io/goversion v1.2.0
)