ecore/ecore_con - Make ecore_con_lookup() work with ipv4 too
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Jul 2011 20:04:18 +0000 (20:04 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Jul 2011 20:04:18 +0000 (20:04 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@61021 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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;