From a2d1d85e695fcda8d174e7fb6c907f9c78dc76a7 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Sat, 20 Feb 2021 20:53:48 +0800 Subject: [PATCH] fix typo --- Netch/Controllers/DNSController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netch/Controllers/DNSController.cs b/Netch/Controllers/DNSController.cs index 53e3f40a97..ccf59a7a1f 100644 --- a/Netch/Controllers/DNSController.cs +++ b/Netch/Controllers/DNSController.cs @@ -27,7 +27,7 @@ public void Start() aiodns_dial((int) NameList.TYPE_ODNS, Encoding.UTF8.GetBytes($"{Global.Settings.AioDNS.OtherDNS}:53")); aiodns_dial((int) NameList.TYPE_METH, Encoding.UTF8.GetBytes(Global.Settings.AioDNS.Protocol)); - if (aiodns_init()) + if (!aiodns_init()) throw new Exception("AioDNS start failed"); }