mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
AVAHISCAN / mDNS #815
This commit is contained in:
@@ -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'],
|
||||||
|
|||||||
Reference in New Issue
Block a user