Commit 589255ac authored by Kai Vehmanen's avatar Kai Vehmanen

Do not fake to support IPv6 with STUN.

parent 0f643871
......@@ -2614,6 +2614,9 @@ int stun_atoaddr(su_home_t *home,
dstaddr = (su_sockaddr_t *) info->ai_addr;
/* note: works only for IPv4 */
if (ai_family != AF_INET)
return -1;
hints->ai_family = ai_family;
port = strstr(in, ":");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment