wgengine/windows: use new winipcfg.Sync{Addresses,Routes} functions.

This avoids flushing and reloading the whole list of addresses and
routes whenever remote node information changes.
This commit is contained in:
Avery Pennarun
2020-04-13 13:18:46 -04:00
parent adf74c75ed
commit dc9b39e3fb
3 changed files with 6 additions and 3 deletions

3
go.mod
View File

@ -17,7 +17,7 @@ require (
github.com/mdlayher/netlink v1.1.0
github.com/pborman/getopt v0.0.0-20190409184431-ee0cd42419d3
github.com/peterbourgon/ff/v2 v2.0.0
github.com/tailscale/winipcfg-go v0.0.0-20200213045944-185b07f8233f
github.com/tailscale/winipcfg-go v0.0.0-20200413171540-609dcf2df55f
github.com/tailscale/wireguard-go v0.0.0-20200407164751-7f0c43dd1145
github.com/toqueteos/webbrowser v1.2.0
go4.org/mem v0.0.0-20200411205429-f77f31c81751
@ -30,3 +30,4 @@ require (
gortc.io/stun v1.22.1
rsc.io/goversion v1.2.0
)