Maximilian Wilhelm 2fd9879278 Fix database query for known ports in discovery.
While adding configurable port mapping in 2c9df26bbf22af94c354bcf445b55a56eaece81a
  I broke the query for known ports from the database so discovery.php considered
  ALL ports to be new every time it ran. Whoops.

  This went undetected for so long as there is a unique constraint on the ports
  table (device_id+ifIndex) which prevented ports from being added again and
  again.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-06-14 13:12:12 +02:00
..