aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-01-20 23:39:39 +0100
committerKim Alvefur <zash@zash.se>2023-01-20 23:39:39 +0100
commit45579e5609dadc197b186e893bde75239ab39464 (patch)
tree99b2f78fe865a8bd8285f00601445e69c44b2f02 /tools
parent0aae39f6600462a65b51893ac84318210fc9fafd (diff)
downloadprosody-45579e5609dadc197b186e893bde75239ab39464.tar.gz
prosody-45579e5609dadc197b186e893bde75239ab39464.zip
tools/dnsregistry: Fix to ignore unassigned entries
Diffstat (limited to 'tools')
-rw-r--r--tools/dnsregistry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dnsregistry.lua b/tools/dnsregistry.lua
index 3fd26628..41fb751b 100644
--- a/tools/dnsregistry.lua
+++ b/tools/dnsregistry.lua
@@ -22,7 +22,7 @@ for registry in registries:childtags("registry") do
local record_desc = record:get_child_text("description");
local record_code = tonumber(record:get_child_text("value"));
- if tostring(record):lower():match("reserved") or tostring(record):lower():match("reserved") then
+ if tostring(record):lower():match("reserved") or tostring(record):lower():match("unassigned") then
record_code = nil;
end