aboutsummaryrefslogtreecommitdiffstats
path: root/tun/tun_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'tun/tun_windows.go')
-rw-r--r--tun/tun_windows.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/tun/tun_windows.go b/tun/tun_windows.go
index 3101ed9..d057150 100644
--- a/tun/tun_windows.go
+++ b/tun/tun_windows.go
@@ -46,8 +46,10 @@ type NativeTun struct {
forcedMTU int
}
-var WintunTunnelType = "WireGuard"
-var WintunStaticRequestedGUID *windows.GUID
+var (
+ WintunTunnelType = "WireGuard"
+ WintunStaticRequestedGUID *windows.GUID
+)
//go:linkname procyield runtime.procyield
func procyield(cycles uint32)