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

@@ -138,7 +138,7 @@ func main() {
if err != nil {
log.Fatalf("--routes: not an IP range: %s", routeStr)
}
hi.RoutableIPs = append(hi.RoutableIPs, *cidr)
hi.RoutableIPs = append(hi.RoutableIPs, cidr)
}
}