Fixes #37355 - Explicitly query for IPv4 address in omapi code
The omapi API is IPv4-only so the DNS lookup should also only ask for IPv4 addresses. Otherwise it may return an IPv6 address which ip2hex can't deal with.
Related issues
Bug #37355: Creating a DHCP host can cause an IPv6 address to be looked up
Fixes #37355 - Explicitly query for IPv4 address in omapi code
The omapi API is IPv4-only so the DNS lookup should also only ask for
IPv4 addresses. Otherwise it may return an IPv6 address which ip2hex
can't deal with.