mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #3733 from tijmenNL/issue-3732
Invalid query to get devices in networkmap when XDP is used.
This commit is contained in:
@ -107,6 +107,7 @@ LibreNMS contributors:
|
||||
- Josh Driver <keeperofdakeys@gmail.com> (keeperofdakeys)
|
||||
- Felix Eckhofer <felix@eckhofer.com> (tribut)
|
||||
- Vikram Adukia <adukia@dropbox.com> (justmedude)
|
||||
- Tijmen de Mes <tijmen@ag-projects.com> (tijmenNL)
|
||||
|
||||
[1]: http://observium.org/ "Observium web site"
|
||||
Observium was written by:
|
||||
|
@ -127,7 +127,7 @@ if (in_array('xdp', $config['network_map_items'])) {
|
||||
WHERE
|
||||
`active`=1 AND
|
||||
`local_device_id` != 0 AND
|
||||
`remote_device_id` != 0 AND
|
||||
`remote_device_id` != 0
|
||||
$where
|
||||
$sql
|
||||
GROUP BY `P1`.`port_id`,`P2`.`port_id`
|
||||
|
Reference in New Issue
Block a user