diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2017-08-11 19:12:39 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2017-08-11 19:39:36 +0200 |
commit | f863c0ca14111d4bab06604fb4e2bf42fc83f0da (patch) | |
tree | 8fe033c70de31dd8b82b30c1c4b30e8d90e54b4f /drivers | |
parent | 45ddbbd7383eca59e487cf1eec010456c1a97d02 (diff) |
Explicitily unsed AI_NUMERICHOST flag to fix HTML5
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/unix/ip_unix.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index 30d2377a04..f55b75c1d9 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -100,6 +100,7 @@ IP_Address IP_Unix::_resolve_hostname(const String &p_hostname, Type p_type) { hints.ai_family = AF_UNSPEC; hints.ai_flags = AI_ADDRCONFIG; }; + hints.ai_flags &= !AI_NUMERICHOST; int s = getaddrinfo(p_hostname.utf8().get_data(), NULL, &hints, &result); if (s != 0) { |