Update Interop start failed Message

This commit is contained in:
ChsBuffer
2021-06-02 11:51:59 +08:00
parent 6827207434
commit 4fba66fab8
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ namespace Netch.Controllers
Dial(NameList.TYPE_ODNS, $"{Global.Settings.AioDNS.OtherDNS}");
if (!Init())
throw new Exception("AioDNS start failed");
throw new Exception("AioDNS start failed.");
}
}
}

View File

@@ -45,7 +45,7 @@ namespace Netch.Controllers
Dial(NameList.TYPE_DNSHOST, Global.Settings.Redirector.DNSHijack ? Global.Settings.Redirector.DNSHijackHost : "");
if (!Init())
throw new MessageException("Redirector Start failed, run Netch with \"-console\" argument");
throw new MessageException("Redirector start failed.");
}
public void Stop()

View File

@@ -92,7 +92,7 @@ namespace Netch.Controllers
#endregion
if (!Init())
throw new MessageException("tun2socks start failed, reboot your system and start again.");
throw new MessageException("tun2socks start failed.");
var tunIndex = (int)RouteHelper.ConvertLuidToIndex(tun_luid());
_tun = NetRoute.TemplateBuilder(Global.Settings.TUNTAP.Gateway, tunIndex);