mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-06 16:53:59 +00:00
DhcpServer: saving modified scopes and zone in Stop().
This commit is contained in:
@@ -134,9 +134,6 @@ namespace DnsServerCore.Dhcp
|
||||
|
||||
if (_maintenanceTimer != null)
|
||||
_maintenanceTimer.Dispose();
|
||||
|
||||
SaveModifiedScopes();
|
||||
SaveModifiedDnsAuthZones();
|
||||
}
|
||||
|
||||
_disposed = true;
|
||||
@@ -1203,6 +1200,9 @@ namespace DnsServerCore.Dhcp
|
||||
|
||||
StopMaintenanceTimer();
|
||||
|
||||
SaveModifiedScopes();
|
||||
SaveModifiedDnsAuthZones();
|
||||
|
||||
foreach (KeyValuePair<string, Scope> scope in _scopes)
|
||||
UnloadScope(scope.Value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user