From b4199abc4a6330cee30675b18dd6234fa4477461 Mon Sep 17 00:00:00 2001 From: Amazing_DM Date: Thu, 6 Feb 2020 13:41:56 +0800 Subject: [PATCH] fix a bug --- Netch/Utils/Configuration.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Netch/Utils/Configuration.cs b/Netch/Utils/Configuration.cs index ce322dc7e3..76e0bc4691 100644 --- a/Netch/Utils/Configuration.cs +++ b/Netch/Utils/Configuration.cs @@ -158,6 +158,9 @@ public static bool SearchOutbounds() Global.TUNTAP.ComponentID = TUNTAP.GetComponentID(); } + else { + return false; + } //MessageBox.Show(i18N.Translate("Please install TAP-Windows and create an TUN/TAP adapter manually"), i18N.Translate("Information"), MessageBoxButtons.OK, MessageBoxIcon.Information); // return false; }