From b005d46693ec992f2d990369e55bffed415ae69b Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 7 Aug 2021 12:26:56 +0530 Subject: [PATCH] PrimaryZone: updated tsig support implementation. --- DnsServerCore/Dns/Zones/PrimaryZone.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DnsServerCore/Dns/Zones/PrimaryZone.cs b/DnsServerCore/Dns/Zones/PrimaryZone.cs index 3a49a462..49ae5b1e 100644 --- a/DnsServerCore/Dns/Zones/PrimaryZone.cs +++ b/DnsServerCore/Dns/Zones/PrimaryZone.cs @@ -36,7 +36,7 @@ namespace DnsServerCore.Dns.Zones readonly bool _internal; readonly List _history; //for IXFR support - IReadOnlyDictionary _tsigKeys; + IReadOnlyDictionary _tsigKeyNames; readonly Timer _notifyTimer; bool _notifyTimerTriggered; @@ -60,7 +60,7 @@ namespace DnsServerCore.Dns.Zones else _history = new List(zoneInfo.ZoneHistory); - _tsigKeys = zoneInfo.TsigKeys; + _tsigKeyNames = zoneInfo.TsigKeyNames; _notifyTimer = new Timer(NotifyTimerCallback, null, Timeout.Infinite, Timeout.Infinite); _notifyList = new List(); @@ -470,10 +470,10 @@ namespace DnsServerCore.Dns.Zones } } - public IReadOnlyDictionary TsigKeys + public IReadOnlyDictionary TsigKeyNames { - get { return _tsigKeys; } - set { _tsigKeys = value; } + get { return _tsigKeyNames; } + set { _tsigKeyNames = value; } } #endregion