1
0
mirror of https://github.com/fumiama/water.git synced 2026-06-05 02:00:29 +08:00

fix: Failed to register rings: 参数错误

This commit is contained in:
fumiama
2021-12-29 22:04:09 +08:00
parent a18737bcce
commit 29e50756f7

View File

@@ -338,7 +338,7 @@ func openDev(config Config) (ifce *Interface, err error) {
// TUN
var ad *wintun.Adapter
if config.InterfaceName == "" {
config.InterfaceName = "WinTun"
config.InterfaceName = "Water WinTun Interface"
}
ad, err = wintun.OpenAdapter(config.InterfaceName)
if err != nil {