# HG changeset patch # User Kim Alvefur # Date 1674254379 -3600 # Node ID 3306807c06197dff6a1f8abef5c5daecc33326b4 # Parent 73db76cc64721a8c5bcd6dfaaf769c102d591c4c tools/dnsregistry: Fix to ignore unassigned entries diff -r 73db76cc6472 -r 3306807c0619 tools/dnsregistry.lua --- a/tools/dnsregistry.lua Fri Jan 20 19:47:00 2023 +0100 +++ b/tools/dnsregistry.lua Fri Jan 20 23:39:39 2023 +0100 @@ -22,7 +22,7 @@ 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