summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tun/tun_windows.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tun/tun_windows.go b/tun/tun_windows.go
index ed6d7d2..94efe48 100644
--- a/tun/tun_windows.go
+++ b/tun/tun_windows.go
@@ -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)
+} \ No newline at end of file