mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-20 00:03:19 -04:00
AVAHISCAN / mDNS #815
This commit is contained in:
1 parent
669ce20a84
commit
68febd1350
1 file changed
+2
-1
@@ -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'],
|
||||
|
||||
Reference in new issue
Block a user