Skip to content

Commit

Permalink
spreadsheet_tools.py line 299 had attribute .name on dns_data which d…
Browse files Browse the repository at this point in the history
…idn't exist. Removed .name and resolved bug.
  • Loading branch information
Dbones202 committed Jan 17, 2024
1 parent d2a8143 commit fb613c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navv/spreadsheet_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fb613c4

Please sign in to comment.