mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
tools/dnsregistry: Fix to ignore unassigned entries
This commit is contained in:
parent
0aae39f660
commit
45579e5609
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue