tun: windows: Adapter devices renamed to WINTUN<LUID Index>
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
4b1db1d39b
commit
41c30a7279
4 changed files with 63 additions and 52 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue