From fb613c4f9c3290ad4fef49e6ee15abe89e1d5873 Mon Sep 17 00:00:00 2001 From: Donovan Nichols Date: Wed, 17 Jan 2024 12:02:31 -0700 Subject: [PATCH] spreadsheet_tools.py line 299 had attribute .name on dns_data which didn't exist. Removed .name and resolved bug. --- src/navv/spreadsheet_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/navv/spreadsheet_tools.py b/src/navv/spreadsheet_tools.py index cf72d93..87ddc5c 100644 --- a/src/navv/spreadsheet_tools.py +++ b/src/navv/spreadsheet_tools.py @@ -296,7 +296,7 @@ def handle_ip(ip_to_check, dns_data, inventory, segments, ext_IPs, unk_int_IPs): for x in range(0, len(segments[:-1])): if segments[x].network == ip_to_check: if ip_to_check in dns_data: - resolution = dns_data[ip_to_check].name + resolution = dns_data[ip_to_check] elif ip_to_check in inventory: resolution = inventory[ip_to_check].name else: