internal/wgopenbsd: add OpenBSD/arm64 support #117
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix wgctrl-go build on OpenBSD/arm64:
../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:33:28: undefined: wgh.Ifgroupreq ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:34:28: undefined: wgh.WGGetServ ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:35:28: undefined: wgh.WGGetPeer ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:68:9: undefined: wgh.Ifgroupreq ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:87:18: undefined: wgh.Ifgreq ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:296:23: undefined: wgh.WGIP ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:335:29: undefined: wgh.WGCIDR ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:363:36: undefined: wgh.Ifgroupreq ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:371:35: undefined: wgh.WGGetServ ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:379:35: undefined: wgh.WGGetPeer ../../../go/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200205215550-e35592f146e4/internal/wgopenbsd/client_openbsd.go:87:18: too many errors