From 23399b872d6b58d8af0c4500fae52d1fe5a9faff Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Sun, 28 Mar 2021 00:56:59 +0800 Subject: [PATCH] Remove TUN HijackDNS value check --- Netch/Forms/SettingForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netch/Forms/SettingForm.cs b/Netch/Forms/SettingForm.cs index 91fd7174..4c4213c8 100644 --- a/Netch/Forms/SettingForm.cs +++ b/Netch/Forms/SettingForm.cs @@ -148,7 +148,7 @@ namespace Netch.Forms BindCheckBox(UseCustomDNSCheckBox, b => { Global.Settings.TUNTAP.UseCustomDNS = b; }, Global.Settings.TUNTAP.UseCustomDNS); BindTextBox(TUNTAPDNSTextBox, - s => !UseCustomDNSCheckBox.Checked || s.IsNullOrWhiteSpace(), + _ => true, s => { if (UseCustomDNSCheckBox.Checked)