Diff

tools/dnsregistry.lua @ 12855:3306807c0619

tools/dnsregistry: Fix to ignore unassigned entries
author Kim Alvefur <zash@zash.se>
date Fri, 20 Jan 2023 23:39:39 +0100
parent 12271:f31bb79f51d7
child 13142:879a6a33c21b
line wrap: on
line diff
--- 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