fix(lldp): keep every neighbour on a port
The keyvalue output was grouped by local interface only, so with several neighbours on one port their keys overwrote each other and one mixed entry came back. A neighbour now ends where the next one opens (alias, then via, as lldpd prints it); a key repeated inside one neighbour, such as one mgmt-ip per address, does not start a new one. Closes #9
This commit is contained in:
1 parent
097d9b9581
commit
5e71f0b471
3 files changed
+88
-16
No files matched your search
@@ -27,6 +27,9 @@ recorded here; their history is the git log.
|
||||
- `get_environment()` reports the CPU usage of the last second, from two reads of
|
||||
`/proc/stat` one second apart; it used to report the average since boot, so a box
|
||||
busy for the last minute could show a low figure (#10).
|
||||
- `get_lldp_neighbors()` and `get_lldp_neighbors_detail()` report every neighbour
|
||||
on a port (a phone with a PC behind it, a switch without LLDP of its own); only
|
||||
the last one came back, mixed with fields of the others (#9).
|
||||
|
||||
## [0.7.0] - 2026-10-23
|
||||
|
||||
|
||||
Reference in new issue
Block a user