Skip to content

Commit

Permalink
Update water to fix WinTUN (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doridian authored Apr 7, 2023
1 parent 2997c1e commit 4c6223f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Doridian/wsvpn
go 1.19

require (
github.com/Doridian/water v1.5.0
github.com/Doridian/water v1.5.1
github.com/apparentlymart/go-cidr v1.1.0
github.com/gobwas/ws v1.1.0
github.com/golang-jwt/jwt/v4 v4.5.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/Doridian/gopacket v1.2.1 h1:z0Iu5zplIq01nGNwKoreAhc/RMIUqu6vZLxLsHjpO48=
github.com/Doridian/gopacket v1.2.1/go.mod h1:16EwY3JsEHp3TFeSRcmSC9yOdG8GkFAWImZaL13kOGc=
github.com/Doridian/water v1.5.0 h1:IDV5DQ002y6q4KLJMD9PfVKjkp9DVzVyN5wFJX0gKGY=
github.com/Doridian/water v1.5.0/go.mod h1:ZXYByhNKx4XjYAvClgpfkxRxYxPQ6JrtGY3AAfz+OPM=
github.com/Doridian/water v1.5.1 h1:OJp5go0nCnd1mW+JV2WRmUw4UzKIblVrUZUANOE0/AM=
github.com/Doridian/water v1.5.1/go.mod h1:ZXYByhNKx4XjYAvClgpfkxRxYxPQ6JrtGY3AAfz+OPM=
github.com/GehirnInc/crypt v0.0.0-20230320061759-8cc1b52080c5 h1:IEjq88XO4PuBDcvmjQJcQGg+w+UaafSy8G5Kcb5tBhI=
github.com/GehirnInc/crypt v0.0.0-20230320061759-8cc1b52080c5/go.mod h1:exZ0C/1emQJAw5tHOaUDyY1ycttqBAPcxuzf7QbY6ec=
github.com/apparentlymart/go-cidr v1.1.0 h1:2mAhrMoF+nhXqxTzSZMUzDHkLjmIHC+Zzn4tdgBZjnU=
Expand Down
2 changes: 1 addition & 1 deletion shared/iface/ifce_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func GetPlatformSpecifics(config *water.Config, ifaceConfig *InterfaceConfig) er

func VerifyPlatformFlags(ifaceConfig *InterfaceConfig, mode shared.VPNMode) error {
if ifaceConfig.OneInterfacePerConnection {
return errors.New("Windows can not support one-interface-per-connection")
return errors.New("windows can not support one-interface-per-connection")
}

return nil
Expand Down
2 changes: 1 addition & 1 deletion shared/iface/ifce_windows_amd64.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package iface

import _ "embed" // Required for go:embed_ "embed"
import _ "embed" // Required for go:embed

//go:embed wintun/wintun/bin/amd64/wintun.dll
var wintunDll []byte

0 comments on commit 4c6223f

Please sign in to comment.