diff options
author | Simon Rozman <simon@rozman.si> | 2019-03-22 15:28:33 +0100 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2019-03-22 15:29:14 +0100 |
commit | 41c30a72791999aac8973b82224d3d4b9162dd51 (patch) | |
tree | 08ed7cae2a4f4722a272d139b2b0b5619ec26a11 /tun/tun_windows.go | |
parent | 4b1db1d39bc6383ed360cfecc7cc9f1dac976dfa (diff) | |
download | wireguard-go-41c30a72791999aac8973b82224d3d4b9162dd51.tar.gz wireguard-go-41c30a72791999aac8973b82224d3d4b9162dd51.zip |
tun: windows: Adapter devices renamed to WINTUN<LUID Index>
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'tun/tun_windows.go')
-rw-r--r-- | tun/tun_windows.go | 2 |
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 } |