summaryrefslogtreecommitdiffhomepage
path: root/tun/tun_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'tun/tun_windows.go')
-rw-r--r--tun/tun_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/tun_windows.go b/tun/tun_windows.go
index d4be66b..4223190 100644
--- a/tun/tun_windows.go
+++ b/tun/tun_windows.go
@@ -348,5 +348,5 @@ func (tun *NativeTun) Write(buff []byte, offset int) (int, error) {
// GUID returns Windows adapter instance ID.
//
func (tun *NativeTun) GUID() windows.GUID {
- return *(*windows.GUID)(tun.wt)
+ return tun.wt.CfgInstanceID
}