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

@@ -113,7 +113,7 @@ func compareIPNets(a, b []wgcfg.CIDR) bool {
return false
}
for i := range a {
if !a[i].IP.Equal(&b[i].IP) || a[i].Mask != b[i].Mask {
if !a[i].IP.Equal(b[i].IP) || a[i].Mask != b[i].Mask {
return false
}
}