mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-02 23:05:57 +00:00
WebServiceSettingsApi: minor code refactoring changes done.
This commit is contained in:
@@ -2070,11 +2070,11 @@ namespace DnsServerCore
|
||||
}
|
||||
}
|
||||
|
||||
if (dnsSettings)
|
||||
RestartService(true, true, oldWebServiceLocalAddresses, oldWebServiceHttpPort, oldWebServiceTlsPort);
|
||||
|
||||
Utf8JsonWriter jsonWriter = context.GetCurrentJsonWriter();
|
||||
WriteDnsSettings(jsonWriter);
|
||||
|
||||
if (dnsSettings)
|
||||
RestartService(true, true, oldWebServiceLocalAddresses, oldWebServiceHttpPort, oldWebServiceTlsPort);
|
||||
}
|
||||
|
||||
public void ForceUpdateBlockLists(HttpContext context)
|
||||
|
||||
Reference in New Issue
Block a user