This imperfection was reported by Andrea here:
https://www.redhat.com/archives/libvir-list/2020-July/msg00753.html
Michal Prívozník (3):
virNetSocketCheckProtocols: Separate out checking family via
getaddrinfo()
virNetSocketCheckProtocols: lookup IPv6 only if suspecting IPv6
virNetSocketCheckProtocols: Confirm IPv4 by lookup too
src/rpc/virnetsocket.c | 67 +++++++++++++++++++++++++++---------------
1 file changed, 43 insertions(+), 24 deletions(-)
--
2.26.2