Update terminology to match the protocol specs

This commit is contained in:
2025-03-06 12:34:17 +00:00
parent 72719af72f
commit cfe0b17f66
2 changed files with 16 additions and 16 deletions

View File

@@ -52,14 +52,14 @@ def nbplkup(zone: str) -> list[(str, str)]:
for x in cmd.stdout.split("\n")
if x.strip() != ""
]:
name, endpoint_type, address = node
address, port = address.split(":")
object, endpoint_type, address = node
address, socket = address.split(":")
zone_results.append(
{
"name": name.strip(),
"object": object.strip(),
"type": endpoint_type.strip(),
"address": address,
"port": port,
"socket": socket,
"zone": zone,
}
)