aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gotext.go2
-rw-r--r--tunnel/firewall/types_windows_32.go1
-rw-r--r--tunnel/firewall/types_windows_64.go1
-rw-r--r--tunnel/winipcfg/types_32.go1
-rw-r--r--tunnel/winipcfg/types_64.go1
-rw-r--r--tunnel/winipcfg/types_test_32.go1
-rw-r--r--tunnel/winipcfg/types_test_64.go1
-rw-r--r--ui/confview.go2
8 files changed, 9 insertions, 1 deletions
diff --git a/gotext.go b/gotext.go
index 0ed7401c..0f3d14fd 100644
--- a/gotext.go
+++ b/gotext.go
@@ -1,4 +1,6 @@
+//go:build generate
// +build generate
+
//go:generate go run gotext.go
/* SPDX-License-Identifier: MIT
diff --git a/tunnel/firewall/types_windows_32.go b/tunnel/firewall/types_windows_32.go
index 83aced6e..7e852532 100644
--- a/tunnel/firewall/types_windows_32.go
+++ b/tunnel/firewall/types_windows_32.go
@@ -1,3 +1,4 @@
+//go:build 386 || arm
// +build 386 arm
/* SPDX-License-Identifier: MIT
diff --git a/tunnel/firewall/types_windows_64.go b/tunnel/firewall/types_windows_64.go
index 6e60aa5b..c4f21ee8 100644
--- a/tunnel/firewall/types_windows_64.go
+++ b/tunnel/firewall/types_windows_64.go
@@ -1,3 +1,4 @@
+//go:build amd64 || arm64
// +build amd64 arm64
/* SPDX-License-Identifier: MIT
diff --git a/tunnel/winipcfg/types_32.go b/tunnel/winipcfg/types_32.go
index 51a8d31c..ea748863 100644
--- a/tunnel/winipcfg/types_32.go
+++ b/tunnel/winipcfg/types_32.go
@@ -1,3 +1,4 @@
+//go:build 386 || arm
// +build 386 arm
/* SPDX-License-Identifier: MIT
diff --git a/tunnel/winipcfg/types_64.go b/tunnel/winipcfg/types_64.go
index 6623ce54..8de26465 100644
--- a/tunnel/winipcfg/types_64.go
+++ b/tunnel/winipcfg/types_64.go
@@ -1,3 +1,4 @@
+//go:build amd64 || arm64
// +build amd64 arm64
/* SPDX-License-Identifier: MIT
diff --git a/tunnel/winipcfg/types_test_32.go b/tunnel/winipcfg/types_test_32.go
index fa3f91d5..05676fd2 100644
--- a/tunnel/winipcfg/types_test_32.go
+++ b/tunnel/winipcfg/types_test_32.go
@@ -1,3 +1,4 @@
+//go:build 386 || arm
// +build 386 arm
/* SPDX-License-Identifier: MIT
diff --git a/tunnel/winipcfg/types_test_64.go b/tunnel/winipcfg/types_test_64.go
index d20cdb30..ca70f366 100644
--- a/tunnel/winipcfg/types_test_64.go
+++ b/tunnel/winipcfg/types_test_64.go
@@ -1,3 +1,4 @@
+//go:build amd64 || arm64
// +build amd64 arm64
/* SPDX-License-Identifier: MIT
diff --git a/ui/confview.go b/ui/confview.go
index f3ddbc9d..cc3bcad9 100644
--- a/ui/confview.go
+++ b/ui/confview.go
@@ -620,7 +620,7 @@ func (cv *ConfView) onTunnelChanged(tunnel *manager.Tunnel, state manager.Tunnel
}
func (cv *ConfView) SetTunnel(tunnel *manager.Tunnel) {
- cv.tunnel = tunnel //XXX: This races with the read in the updateTicker, but it's pointer-sized!
+ cv.tunnel = tunnel // XXX: This races with the read in the updateTicker, but it's pointer-sized!
var config conf.Config
var state manager.TunnelState