Skip to content

Commit a5e34f9

Browse files
authored
Merge pull request #55 from cisagov/bugfix_dns_default_name_nonexistant
spreadsheet_tools.py line 299 had attribute .name on dns_data which d…
2 parents c89078d + fb613c4 commit a5e34f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/navv/spreadsheet_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def handle_ip(ip_to_check, dns_data, inventory, segments, ext_IPs, unk_int_IPs):
296296
for x in range(0, len(segments[:-1])):
297297
if segments[x].network == ip_to_check:
298298
if ip_to_check in dns_data:
299-
resolution = dns_data[ip_to_check].name
299+
resolution = dns_data[ip_to_check]
300300
elif ip_to_check in inventory:
301301
resolution = inventory[ip_to_check].name
302302
else:

0 commit comments

Comments
 (0)