mirror of
https://github.com/netchx/netch.git
synced 2026-04-03 19:35:10 +08:00
Fix AioDNS rule config
This commit is contained in:
@@ -211,7 +211,7 @@ namespace Netch.Forms
|
||||
|
||||
#region AioDNS
|
||||
|
||||
BindTextBox(AioDNSRulePathTextBox, _ => true, s => Global.Settings.AioDNS.RulePath = s, Global.Settings.AioDNS.RulePath);
|
||||
BindTextBox(AioDNSRulePathTextBox, _ => true, s => { /*Global.Settings.AioDNS.RulePath = s;*/ }, Global.Settings.AioDNS.RulePath);
|
||||
|
||||
BindTextBox(ChinaDNSTextBox, _ => true, s => Global.Settings.AioDNS.ChinaDNS = s, Global.Settings.AioDNS.ChinaDNS);
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace Netch.Models
|
||||
|
||||
public ushort ListenPort { get; set; } = 53;
|
||||
|
||||
public string RulePath { get; set; } = "bin\\aiodns.conf";
|
||||
public string RulePath { get; } = "bin\\aiodns.conf";
|
||||
}
|
||||
|
||||
public class RedirectorConfig
|
||||
|
||||
Reference in New Issue
Block a user