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