[#265] Default sort for Nodes discovered through LLDP/CDP

This commit is contained in:
Oliver Gorwits
2016-10-01 18:58:55 +01:00
parent ca4fb72638
commit 922c4aa808
2 changed files with 2 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
* Mention netdisco-users mail list in docs (C. Goldsmith) * Mention netdisco-users mail list in docs (C. Goldsmith)
* Avoid pathological delete mac for millions of nodes (S. Xu) * Avoid pathological delete mac for millions of nodes (S. Xu)
* Documentation fixes (S. Elipot) * Documentation fixes (S. Elipot)
* [#265] Default sort for Nodes discovered through LLDP/CDP
[BUG FIXES] [BUG FIXES]

View File

@@ -34,6 +34,7 @@ WHERE d.ip = p.ip
AND q.ip = a.ip AND q.ip = a.ip
AND q.port = p.remote_port) AND q.port = p.remote_port)
AND (p.remote_id IS NOT NULL OR p.remote_type IS NOT NULL) AND (p.remote_id IS NOT NULL OR p.remote_type IS NOT NULL)
ORDER BY d.name, p.port
ENDSQL ENDSQL
); );