ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too
SVN revision: 61021
This commit is contained in:
parent
239864e32c
commit
60aa52189d
|
@ -253,7 +253,7 @@ ecore_con_lookup(const char *name,
|
||||||
svr->ppid = getpid();
|
svr->ppid = getpid();
|
||||||
|
|
||||||
memset(&hints, 0, sizeof(struct addrinfo));
|
memset(&hints, 0, sizeof(struct addrinfo));
|
||||||
hints.ai_family = AF_INET6;
|
hints.ai_family = AF_UNSPEC;
|
||||||
hints.ai_socktype = SOCK_STREAM;
|
hints.ai_socktype = SOCK_STREAM;
|
||||||
hints.ai_flags = AI_CANONNAME;
|
hints.ai_flags = AI_CANONNAME;
|
||||||
hints.ai_protocol = IPPROTO_TCP;
|
hints.ai_protocol = IPPROTO_TCP;
|
||||||
|
|
Loading…
Reference in New Issue