]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
Refresh of ipv4
authorSean Hefty <sean.hefty@intel.com>
Thu, 5 Apr 2012 23:25:25 +0000 (16:25 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 5 Apr 2012 23:25:25 +0000 (16:25 -0700)
src/libacm.c

index 727741fa8b83bff725004e8b990419c4f1ee0086..5ca1abc8010ea81e4be4fe412311493fde99e860 100644 (file)
@@ -75,6 +75,7 @@ int ib_acm_connect(char *dest)
 
        acm_set_server_port();
        memset(&hint, 0, sizeof hint);
+       hint.ai_family = AF_INET;
        hint.ai_protocol = IPPROTO_TCP;
        ret = getaddrinfo(dest, NULL, &hint, &res);
        if (ret)