Commit 11b7a385 authored by Pekka Pessi's avatar Pekka Pessi

tport.c: fixed EXPENSIVE unresolved bug.

darcs-hash:20071120175354-65a35-38ae636463914aba38d4315e98fca03f4614d03f.gz
parent 8cca31cd
......@@ -4403,7 +4403,7 @@ tport_t *tport_by_name(tport_t const *self, tp_name_t const *tpn)
su->su_len = sulen = (socklen_t) sizeof (struct sockaddr_in6);
su->su_family = AF_INET6;
}
else if (host_is_ip_address(host)) {
else if (host_is_ip6_address(host)) {
su->su_len = sulen = (socklen_t) sizeof (struct sockaddr_in6);
su->su_family = AF_INET6;
}
......
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