diff options
author | Avery Pennarun <apenwarr@gmail.com> | 2019-04-20 03:28:06 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-17 15:19:20 +0200 |
commit | 1b6c8ddbe8f2b9ef0b07b4d5a97443c67ee2e0fd (patch) | |
tree | 9fbfc4abd97d6a77d55f5ba5e6889626f8f4818c /main_windows.go | |
parent | 0abb6b668c708aa84daba4b036e536fd76a8b1c5 (diff) |
tun: match windows CreateTUN signature to the Linux variant
Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
[zx2c4: fix default value]
Diffstat (limited to 'main_windows.go')
-rw-r--r-- | main_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_windows.go b/main_windows.go index 5380f56..f57bc8d 100644 --- a/main_windows.go +++ b/main_windows.go @@ -37,7 +37,7 @@ func main() { logger.Info.Println("Starting wireguard-go version", device.WireGuardGoVersion) logger.Debug.Println("Debug log enabled") - tun, err := tun.CreateTUN(interfaceName) + tun, err := tun.CreateTUN(interfaceName, 0) if err == nil { realInterfaceName, err2 := tun.Name() if err2 == nil { |