From ef459b2f96290f17e5c88d2e9656818d251e88fa Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 4 Feb 2024 17:24:06 +0530 Subject: [PATCH] CacheRecordInfo: code refactoring changes done. --- DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs b/DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs index bcbaa383..1720f2fd 100644 --- a/DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs +++ b/DnsServerCore/Dns/ResourceRecords/CacheRecordInfo.cs @@ -1,6 +1,6 @@ /* Technitium DNS Server -Copyright (C) 2023 Shreyas Zare (shreyas@technitium.com) +Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -69,7 +69,7 @@ namespace DnsServerCore.Dns.ResourceRecords #region private - private static IReadOnlyList ReadRecordsFrom(BinaryReader bR, bool includeInnerRRSigRecords) + private static DnsResourceRecord[] ReadRecordsFrom(BinaryReader bR, bool includeInnerRRSigRecords) { int count = bR.ReadByte(); if (count == 0)