summaryrefslogtreecommitdiffhomepage
path: root/tun/tun_windows.go
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2019-05-22 19:31:52 +0200
committerSimon Rozman <simon@rozman.si>2019-05-22 19:31:52 +0200
commitdc9bbec9dbca1daff8265b6e6da6b36185e74660 (patch)
tree937159ea8cdc51fd4f0486630ca2a24ed47fabff /tun/tun_windows.go
parenta6dbe4f4754de333a7ab4df6549d681edbb297fd (diff)
setupapi: trim "Get" from getters
Signed-off-by: Simon Rozman <simon@rozman.si>
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 {