Werk #15209: host_config: fix host attribute IPv6 address validation

Component REST API
Title host_config: fix host attribute IPv6 address validation
Date Jan 30, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Prior to this werk, the REST API failed with a 500 error if the user tried to query or create a host with a valid Host- or DNS name as Ipv6 address.

This restriction also caused an error in the DCD as it is reliant on the the list all hosts endpoint.

This werk resolves both issues.

To the list of all Werks