diff options
author | Simon Rozman <simon@rozman.si> | 2019-05-22 19:31:52 +0200 |
---|---|---|
committer | Simon Rozman <simon@rozman.si> | 2019-05-22 19:31:52 +0200 |
commit | dc9bbec9dbca1daff8265b6e6da6b36185e74660 (patch) | |
tree | 937159ea8cdc51fd4f0486630ca2a24ed47fabff /tun/tun_windows.go | |
parent | a6dbe4f4754de333a7ab4df6549d681edbb297fd (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.go | 2 |
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 { |