Skip to content

Fix LLDP report for single-interface hosts#2122

Merged
berendt merged 1 commit intomainfrom
fix-lldp
Mar 13, 2026
Merged

Fix LLDP report for single-interface hosts#2122
berendt merged 1 commit intomainfrom
fix-lldp

Conversation

@berendt
Copy link
Copy Markdown
Member

@berendt berendt commented Mar 13, 2026

lldpctl returns a dict instead of a list when only one interface has LLDP neighbors. Normalize the interface data to always be a list so iteration works in both cases.

AI-assisted: Claude Code

lldpctl returns a dict instead of a list when only one interface has
LLDP neighbors. Normalize the interface data to always be a list so
iteration works in both cases.

AI-assisted: Claude Code

Signed-off-by: Christian Berendt <berendt@osism.tech>
@berendt berendt merged commit c8c6c41 into main Mar 13, 2026
2 checks passed
@berendt berendt deleted the fix-lldp branch March 13, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant