mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2024-12-24 14:58:47 +01:00
tun: windows: expose GUID
This commit is contained in:
parent
967d1a0f3d
commit
d435be35ca
@ -350,3 +350,7 @@ func (tun *NativeTun) Write(buff []byte, offset int) (int, error) {
|
||||
// Flush write buffer.
|
||||
return len(buff) - offset, tun.flush()
|
||||
}
|
||||
|
||||
func (tun *NativeTun) GUID() windows.GUID {
|
||||
return *(*windows.GUID)(tun.wt)
|
||||
}
|
Loading…
Reference in New Issue
Block a user