From 68febd1350b7922f8dd0762c6424be3502eec2f8 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Fri, 4 Oct 2024 11:35:05 +1000 Subject: [PATCH] AVAHISCAN / mDNS #815 --- front/plugins/avahi_scan/avahi_scan.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/plugins/avahi_scan/avahi_scan.py b/front/plugins/avahi_scan/avahi_scan.py index e50db705..6a48506e 100755 --- a/front/plugins/avahi_scan/avahi_scan.py +++ b/front/plugins/avahi_scan/avahi_scan.py @@ -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'],