wgengine/magicsock: remove allocs in UDP write, use new netaddr.PutUDPAddr

The allocs were only introduced yesterday with a TODO. Now they're gone again.
This commit is contained in:
Brad Fitzpatrick
2020-07-01 10:17:08 -07:00
parent 7b3c0bb7f6
commit 9b8ca219a1
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -29,6 +29,6 @@ require (
golang.org/x/sys v0.0.0-20200501052902-10377860bb8e
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
honnef.co/go/tools v0.0.1-2020.1.4 // indirect
inet.af/netaddr v0.0.0-20200629220211-f44a6d25c536
inet.af/netaddr v0.0.0-20200701171350-6509743f79d9
rsc.io/goversion v1.2.0
)