aboutsummaryrefslogtreecommitdiffstats
path: root/tun/tun_windows.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-12-09 17:55:50 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-12-09 23:15:55 +0100
commit9c9e7e2724340280d0ca4ff29c067f2d144562c0 (patch)
tree239826ccafe70e5cee73936d9bcea8989dd33899 /tun/tun_windows.go
parentdevice: handle peer post config on blank line (diff)
downloadwireguard-go-9c9e7e2724340280d0ca4ff29c067f2d144562c0.tar.xz
wireguard-go-9c9e7e2724340280d0ca4ff29c067f2d144562c0.zip
global: apply gofumpt
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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)