all: update to wireguard-go API changes

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-03-16 20:27:00 -07:00
parent dd14b658a2
commit e085aec8ef
9 changed files with 14 additions and 11 deletions

View File

@@ -189,7 +189,7 @@ func parseCIDR(t *testing.T, addr string) wgcfg.CIDR {
if err != nil {
t.Fatal(err)
}
return *cidr
return cidr
}
func runDERP(t *testing.T) (s *derp.Server, addr string, cleanupFn func()) {