diff --git a/Netch/Controllers/TUNTAPController.cs b/Netch/Controllers/TUNTAPController.cs index c1567d641a..c035d8bc76 100644 --- a/Netch/Controllers/TUNTAPController.cs +++ b/Netch/Controllers/TUNTAPController.cs @@ -54,12 +54,18 @@ public bool Start(in Mode mode) } // 查找并安装 TAP 适配器 - if (!SearchTapAdapter() && !AddTap()) + if (!SearchTapAdapter()) { - Logging.Error("Tap 适配器安装失败"); - return false; + if (!AddTap()) + { + Logging.Error("Tap 适配器安装失败"); + return false; + } + + SearchTapAdapter(); } + SetupRouteTable(); string dns;