fix(wireguard): ignore IPv6 addresses if IPv6 disabled

This commit is contained in:
Quentin McGaw
2022-10-17 06:31:32 +00:00
parent c954e6f231
commit f70609c464
3 changed files with 66 additions and 29 deletions

View File

@@ -0,0 +1,3 @@
package wireguard
func ptrTo[T any](x T) *T { return &x }