mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-06 16:53:59 +00:00
SubDomainZone: code refactoring changes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
Technitium DNS Server
|
||||
Copyright (C) 2021 Shreyas Zare (shreyas@technitium.com)
|
||||
Copyright (C) 2023 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
|
||||
@@ -49,7 +49,7 @@ namespace DnsServerCore.Dns.Zones
|
||||
{
|
||||
foreach (DnsResourceRecord record in entry.Value)
|
||||
{
|
||||
if (!record.IsDisabled())
|
||||
if (!record.GetAuthRecordInfo().Disabled)
|
||||
{
|
||||
_disabled = false;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user