mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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>