From 4fba66fab8f86bc4f8f8f07ba1e6b03de464a4ed Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Wed, 2 Jun 2021 11:51:59 +0800 Subject: [PATCH] Update Interop start failed Message --- Netch/Controllers/DNSController.cs | 2 +- Netch/Controllers/NFController.cs | 2 +- Netch/Controllers/TUNController.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Netch/Controllers/DNSController.cs b/Netch/Controllers/DNSController.cs index c8d14c82..e92116ae 100644 --- a/Netch/Controllers/DNSController.cs +++ b/Netch/Controllers/DNSController.cs @@ -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."); } } } \ No newline at end of file diff --git a/Netch/Controllers/NFController.cs b/Netch/Controllers/NFController.cs index 8c1eeea1..b76917d1 100644 --- a/Netch/Controllers/NFController.cs +++ b/Netch/Controllers/NFController.cs @@ -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() diff --git a/Netch/Controllers/TUNController.cs b/Netch/Controllers/TUNController.cs index 8f55efb3..bc95f6d0 100644 --- a/Netch/Controllers/TUNController.cs +++ b/Netch/Controllers/TUNController.cs @@ -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);