mirror of
https://github.com/netchx/netch.git
synced 2026-04-01 19:15:09 +08:00
refactor: builder dns string and Mode FileString
This commit is contained in:
@@ -73,7 +73,7 @@ namespace Netch.Controllers
|
||||
{
|
||||
if (Global.Settings.TUNTAP.DNS.Any())
|
||||
{
|
||||
dns = Global.Settings.TUNTAP.DNS.Aggregate((current, ip) => $"{current},{ip}");
|
||||
dns = string.Join(",", Global.Settings.TUNTAP.DNS);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user