Werk #19360: Fix LLDP cache crash on IPv4 address reported as IPv6
| Component | Checks & agents | ||||
| Title | Fix LLDP cache crash on IPv4 address reported as IPv6 | ||||
| Date | Mar 23, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Previously, the LLDP cache section parser crashed with a ValueError when a
network device reported an IPv4 management address using LLDP address family 2
(IPv6). This could happen with certain devices (e.g. ZyXEL GS1900 switches)
that incorrectly encode the address family. The parser now detects the byte
count mismatch and renders the address as IPv4 instead.