From 3e3c3ed2bbf753b1b9d8512c818e7fd1ca30c4cf Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 17 Feb 2024 18:12:54 +0530 Subject: [PATCH] WebServiceDhcpApi: updated code for Scope implementation change. --- DnsServerCore/WebServiceDhcpApi.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerCore/WebServiceDhcpApi.cs b/DnsServerCore/WebServiceDhcpApi.cs index d2ea6662..e5e03acf 100644 --- a/DnsServerCore/WebServiceDhcpApi.cs +++ b/DnsServerCore/WebServiceDhcpApi.cs @@ -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 {