From 45579e5609dadc197b186e893bde75239ab39464 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 20 Jan 2023 23:39:39 +0100 Subject: tools/dnsregistry: Fix to ignore unassigned entries --- tools/dnsregistry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3