Commit c8c6c41
authored
Fix LLDP report for single-interface hosts (#2122)
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>1 parent 0a6b540 commit c8c6c41
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
| |||
0 commit comments