summaryrefslogtreecommitdiff
path: root/drivers/unix/ip_unix.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-13 17:17:27 +0200
committerGitHub <noreply@github.com>2017-08-13 17:17:27 +0200
commit4391b67e16b47b1be8eda69519a88546438dce8c (patch)
tree9c1e8b632232e890d8cd1b4be7423d3a0bf12bca /drivers/unix/ip_unix.cpp
parent3bea3256f5def126b2b6d639ed70c4ddc3990344 (diff)
parent9b9a723c771a0146cb16e23c3dac744af312bad7 (diff)
Merge pull request #10257 from Faless/html5_fixes
Fix for WebGL2 and HTML5 export
Diffstat (limited to 'drivers/unix/ip_unix.cpp')
-rw-r--r--drivers/unix/ip_unix.cpp1
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) {