Software /
code /
prosody
Changeset
12855:3306807c0619
tools/dnsregistry: Fix to ignore unassigned entries
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 20 Jan 2023 23:39:39 +0100 |
parents | 12854:73db76cc6472 |
children | 12856:89bc598c7051 |
files | tools/dnsregistry.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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