mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-04 15:55:32 +00:00
CacheZone: fixed minor typo bug.
This commit is contained in:
@@ -156,7 +156,7 @@ namespace DnsServerCore.Dns.Zones
|
||||
{
|
||||
IReadOnlyList<DnsResourceRecord> filteredRecords = FilterExpiredRecords(type, existingCNAMERecords, serveStale);
|
||||
if (filteredRecords.Count > 0)
|
||||
return existingCNAMERecords;
|
||||
return filteredRecords;
|
||||
}
|
||||
|
||||
if (_entries.TryGetValue(type, out IReadOnlyList<DnsResourceRecord> existingRecords))
|
||||
|
||||
Reference in New Issue
Block a user