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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user