ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too
authorRafael Antognolli <antognolli@gmail.com>
Mon, 4 Jul 2011 20:04:18 +0000 (20:04 +0000)
committerRafael Antognolli <antognolli@gmail.com>
Mon, 4 Jul 2011 20:04:18 +0000 (20:04 +0000)
SVN revision: 61021

legacy/ecore/src/lib/ecore_con/ecore_con.c

index 73642df..80d5ffa 100644 (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;