-
Committer:
Reinhold Kainhofer
-
Date:
2011-09-19 17:28:59 UTC
-
Revision ID:
git-v1:b0058051f0af29faa1bf7c67a6c6eea746f5de4c
Magicolor: Fix SNMP detection with multiple snmp agents in the network.
So far, the snmp detection would stop working after the first response, because libsnmp
haved like that if we return 1 in the callback. Since we want multiple responses to one
broadcast query, we don't tell libsnmp that the response has answered our query.
As a drawback, libsnmp will send the same query in 1-second-intervals, and each device
will answer again. So, we have to keep a list of all devices already detected.