aboutsummaryrefslogtreecommitdiffstats
path: root/tun/tun_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'tun/tun_windows.go')
-rw-r--r--tun/tun_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/tun_windows.go b/tun/tun_windows.go
index 6215cc7..c17f6d1 100644
--- a/tun/tun_windows.go
+++ b/tun/tun_windows.go
@@ -185,7 +185,7 @@ func (tun *NativeTun) getTUN() (read *os.File, write *os.File, err error) {
}
func (tun *NativeTun) Name() (string, error) {
- return tun.wt.GetInterfaceName()
+ return tun.wt.InterfaceName()
}
func (tun *NativeTun) File() *os.File {