Trying to fix wintun.dll

This commit is contained in:
braginini
2023-04-06 18:45:44 +02:00
parent 237bfde1f2
commit ff0b395fc5
4 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -37,11 +37,11 @@ func (c *tunDevice) Create() error {
// createWithUserspace Creates a new WireGuard interface, using wireguard-go userspace implementation
func (c *tunDevice) createWithUserspace() (NetInterface, error) {
dll := windows.NewLazyDLL("wintun.dll")
err := dll.Load()
if err != nil {
return nil, err
}
/* dll := windows.NewLazyDLL("wintun.dll")
err := dll.Load()
if err != nil {
return nil, err
}*/
tunIface, err := tun.CreateTUN(c.name, c.mtu)
if err != nil {
return nil, err
BIN
View File
Binary file not shown.