]> git.openfabrics.org - ~shefty/ibacm.git/commit
ib_acme: Use IPv4 rather than IPv6 when connecting to ACM server
authorHal Rosenstock <hal@mellanox.com>
Thu, 5 Apr 2012 23:24:09 +0000 (16:24 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 5 Apr 2012 23:24:09 +0000 (16:24 -0700)
commitee6aa496369bc10e9975aa1e013445050a1c4510
treeef30d4769ae20a3994fb559aacbb91d3b16e4415
parent07e4480ebb4d54a02271b6935bf60ea1f45aab86
ib_acme: Use IPv4 rather than IPv6 when connecting to ACM server

When both IPv4 and IPv6 are running, getaddrinfo indicates IPv6
rather than IPv4 and that currently causes a failure to connect to
the ACM server.  Fix is to set the address family in the hint to
getaddrinfo to IPv4.

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/libacm.c