AVAHISCAN / mDNS #815

This commit is contained in:
jokob-sk
2024-10-04 11:35:05 +10:00
parent 669ce20a84
commit 68febd1350

View File

@@ -72,7 +72,8 @@ def main():
for device in unknown_devices: for device in unknown_devices:
domain_name = execute_name_lookup(device['dev_LastIP'], timeout) 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( plugin_objects.add_object(
# "MAC", "IP", "Server", "Name" # "MAC", "IP", "Server", "Name"
primaryId = device['dev_MAC'], primaryId = device['dev_MAC'],