Skip to content

Commit

Permalink
AVAHISCAN / mDNS #815
Browse files Browse the repository at this point in the history
  • Loading branch information
jokob-sk committed Oct 4, 2024
1 parent 669ce20 commit 68febd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion front/plugins/avahi_scan/avahi_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def main():
for device in unknown_devices:
domain_name = execute_name_lookup(device['dev_LastIP'], timeout)

if domain_name != '':
# check if found and not a timeout ('to')
if domain_name != '' and domain_name != 'to':
plugin_objects.add_object(
# "MAC", "IP", "Server", "Name"
primaryId = device['dev_MAC'],
Expand Down

0 comments on commit 68febd1

Please sign in to comment.