diff --git a/.github/workflows/golang-test-windows.yml b/.github/workflows/golang-test-windows.yml index 4f58066f2..2a8c684dd 100644 --- a/.github/workflows/golang-test-windows.yml +++ b/.github/workflows/golang-test-windows.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/upload-artifact@v2 with: name: syso - path: client/*.syso + path: client/*.dll test: needs: pre diff --git a/client/wintun_386.dll b/client/wintun_386.dll new file mode 100644 index 000000000..2ab97dba0 Binary files /dev/null and b/client/wintun_386.dll differ diff --git a/client/wintun_amd64.dll b/client/wintun_amd64.dll new file mode 100644 index 000000000..aee04e77b Binary files /dev/null and b/client/wintun_amd64.dll differ diff --git a/client/wintun_arm64.dll b/client/wintun_arm64.dll new file mode 100644 index 000000000..dc4e4aeeb Binary files /dev/null and b/client/wintun_arm64.dll differ diff --git a/iface/tun_windows.go b/iface/tun_windows.go index f5530dfa7..f8fc67aa5 100644 --- a/iface/tun_windows.go +++ b/iface/tun_windows.go @@ -60,7 +60,7 @@ func (c *tunDevice) createWithUserspace() (NetInterface, error) { uapi, err := c.getUAPI(c.name) if err != nil { - return tunIface, err + return nil, err } go func() {