a7115cced2
When xrdp is built with IPv6 support it will only fall back to IPv4 if IPv6 is not supported (EAFNOSUPPORT). However, if the system is IPv6 capable but doesn't have an IPv6 address set (at least inside a FreeBSD jail) EPROTONOSUPPORT is returned from socket(). (cherry picked from commit 5afbca4954cf585805c80e72620183914a8719f6)