Werk #16923: Parsing of section inv_lldp_cache failed
| Component | Checks & agents | ||||
| Title | Parsing of section inv_lldp_cache failed | ||||
| Date | Jul 7, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Some devices like the Cisco Nexus9000 report network addresses via SNMP whose byte sequence length does not match the announced address family, which resulted in crashes while parsing the SNMP tree. In particular, some IPv4 addresses are wrongly reported with the IPv6 address family.
This change validates the length of the address byte sequence before rendering. An address is only rendered as IPv6 if the sequence has the expected 16 bytes. If it has 4 bytes it is rendered as an IPv4 address instead, and any other length now renders a placeholder ("invalid IPv6 sequence") rather than crashing.