From 41c30a72791999aac8973b82224d3d4b9162dd51 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 22 Mar 2019 15:28:33 +0100 Subject: tun: windows: Adapter devices renamed to WINTUN Signed-off-by: Simon Rozman --- tun/tun_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tun/tun_windows.go') 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 } -- cgit v1.2.3-59-g8ed1b