mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-06 20:49:46 +00:00
zone
This commit is contained in:
@@ -109,10 +109,6 @@ impl DnsGlobalCtxExt for GlobalCtx {
|
||||
}
|
||||
|
||||
fn dns_iter_zones(&self) -> impl Iterator<Item = ZoneConfig> {
|
||||
self.config
|
||||
.get_dns()
|
||||
.zones
|
||||
.into_iter()
|
||||
.chain(iter::once(self.dns_self_zone()))
|
||||
iter::once(self.dns_self_zone()).chain(self.config.get_dns().zones.into_iter())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user