From 4158c133a4d815179e17316a86edad5dafa3995d Mon Sep 17 00:00:00 2001 From: fumiama Date: Wed, 29 Dec 2021 23:31:25 +0800 Subject: [PATCH] fix if error --- syscalls_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syscalls_windows.go b/syscalls_windows.go index 9d9f755..1804ca8 100644 --- a/syscalls_windows.go +++ b/syscalls_windows.go @@ -361,7 +361,7 @@ func openDev(config Config) (ifce *Interface, err error) { // TUN var ad *wintun.Adapter if config.InterfaceName == "" { - config.InterfaceName = "Water WinTun Interface" + config.InterfaceName = "WaterWinTunInterface" } ad, err = wintun.OpenAdapter(config.InterfaceName) if err != nil {