mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
Zone: minor optimization changes.
This commit is contained in:
@@ -517,6 +517,9 @@ namespace DnsServerCore
|
||||
newRecords.Add(record);
|
||||
}
|
||||
|
||||
if (records.Length == newRecords.Count)
|
||||
return records;
|
||||
|
||||
if (newRecords.Count > 0)
|
||||
return newRecords.ToArray();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user