diff options
author | Kim Alvefur <zash@zash.se> | 2023-01-20 23:39:39 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-01-20 23:39:39 +0100 |
commit | 45579e5609dadc197b186e893bde75239ab39464 (patch) | |
tree | 99b2f78fe865a8bd8285f00601445e69c44b2f02 /tools | |
parent | 0aae39f6600462a65b51893ac84318210fc9fafd (diff) | |
download | prosody-45579e5609dadc197b186e893bde75239ab39464.tar.gz prosody-45579e5609dadc197b186e893bde75239ab39464.zip |
tools/dnsregistry: Fix to ignore unassigned entries
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dnsregistry.lua | 2 |
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 |