diff options
author | Simon Rozman <simon@rozman.si> | 2020-11-06 05:24:50 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-07 15:20:49 +0100 |
commit | 65e03a918274534015ca189bfadc33cbba9e3ec8 (patch) | |
tree | a7b84f08e1602324f22bf857ca9148194562e923 /tun/wintun/wintun_windows.go | |
parent | 3e08b8aee0f6ae038f6316ca1bb84e5214db318f (diff) | |
download | wireguard-go-65e03a918274534015ca189bfadc33cbba9e3ec8.tar.gz wireguard-go-65e03a918274534015ca189bfadc33cbba9e3ec8.zip |
wintun: load wintun.dll from RCDATA resource
Signed-off-by: Simon Rozman <simon@rozman.si>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-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 14b0260..ac33579 100644 --- a/tun/wintun/wintun_windows.go +++ b/tun/wintun/wintun_windows.go @@ -34,7 +34,7 @@ type Adapter struct { } var ( - modwintun = windows.NewLazyDLL("wintun.dll") + modwintun = newLazyDLL("wintun.dll") procWintunCreateAdapter = modwintun.NewProc("WintunCreateAdapter") procWintunDeleteAdapter = modwintun.NewProc("WintunDeleteAdapter") |