WebServiceDhcpApi: updated code for Scope implementation change.

This commit is contained in:
Shreyas Zare
2024-02-17 18:12:54 +05:30
parent cd34a686b6
commit 3e3c3ed2bb

View File

@@ -396,7 +396,7 @@ namespace DnsServerCore
throw new DnsWebServiceException("Parameter 'subnetMask' missing.");
scopeExists = false;
scope = new Scope(scopeName, true, IPAddress.Parse(strStartingAddress), IPAddress.Parse(strEndingAddress), IPAddress.Parse(strSubnetMask), _dnsWebService._log);
scope = new Scope(scopeName, true, IPAddress.Parse(strStartingAddress), IPAddress.Parse(strEndingAddress), IPAddress.Parse(strSubnetMask), _dnsWebService._log, _dnsWebService.DhcpServer);
}
else
{