diff --git a/DnsServerCore/Dhcp/DhcpServer.cs b/DnsServerCore/Dhcp/DhcpServer.cs index 03993964..f0bca697 100644 --- a/DnsServerCore/Dhcp/DhcpServer.cs +++ b/DnsServerCore/Dhcp/DhcpServer.cs @@ -1368,26 +1368,6 @@ namespace DnsServerCore.Dhcp SaveScopeFile(scope); } - public void RemoveLeaseByHardwareAddress(string scopeName, string hardwareAddress) - { - Scope scope = GetScope(scopeName); - if (scope == null) - throw new DhcpServerException("DHCP scope does not exists: " + scopeName); - - Lease removedLease = scope.RemoveLeaseByHardwareAddress(hardwareAddress); - UpdateDnsAuthZone(false, scope, removedLease); - } - - public void RemoveLeaseByClientIdentifier(string scopeName, string clientIdentifier) - { - Scope scope = GetScope(scopeName); - if (scope == null) - throw new DhcpServerException("DHCP scope does not exists: " + scopeName); - - Lease removedLease = scope.RemoveLeaseByClientIdentifier(clientIdentifier); - UpdateDnsAuthZone(false, scope, removedLease); - } - public IDictionary GetAddressHostNameMap() { Dictionary map = new Dictionary();