diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-10-20 12:13:44 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-10-20 12:13:44 -0600 |
commit | fdf57a1fa4821c3d82c79325d00f00062ffde699 (patch) | |
tree | f156251f1930e7ba26f01fde60ce2aad3e1173b0 /tun/wintun/wintun_windows.go | |
parent | f87e87af0d9a2d41e79770cf1422f01f7e8b303d (diff) |
wintun: allow retrieving DLL version
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/wintun/wintun_windows.go')
-rw-r--r-- | tun/wintun/wintun_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/wintun_windows.go b/tun/wintun/wintun_windows.go index 4edad91..b3aa6e9 100644 --- a/tun/wintun/wintun_windows.go +++ b/tun/wintun/wintun_windows.go @@ -129,7 +129,7 @@ func Uninstall() (err error) { return } -// RunningVersion returns the version of the running Wintun driver. +// RunningVersion returns the version of the loaded driver. func RunningVersion() (version uint32, err error) { r0, _, e1 := syscall.Syscall(procWintunGetRunningDriverVersion.Addr(), 0, 0, 0, 0) version = uint32(r0) |