diff --git a/ibacm/src/libacm.c b/ibacm/src/libacm.c index 2bb2ac478..e50fbf433 100644 --- a/ibacm/src/libacm.c +++ b/ibacm/src/libacm.c @@ -64,8 +64,8 @@ static int ib_acm_connect_open(char *dest) acm_set_server_port(); memset(&hint, 0, sizeof hint); - hint.ai_family = AF_INET; hint.ai_family = AF_UNSPEC; + hint.ai_protocol = IPPROTO_TCP; ret = getaddrinfo(dest, NULL, &hint, &res); if (ret)