ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too

SVN revision: 61021
This commit is contained in:
Rafael Antognolli 2011-07-04 20:04:18 +00:00
parent 239864e32c
commit 60aa52189d
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ ecore_con_lookup(const char *name,
svr->ppid = getpid();
memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_INET6;
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_CANONNAME;
hints.ai_protocol = IPPROTO_TCP;