Message ID | 560BDD8C.1070803@dev.mellanox.co.il (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/examples/rstream.c b/examples/rstream.c index d93e9aa..ba5e449 100644 --- a/examples/rstream.c +++ b/examples/rstream.c @@ -421,7 +421,7 @@ static int client_connect(void) rai_hints.ai_flags |= RAI_PASSIVE; ret = rdma_getaddrinfo(src_addr, port, &rai_hints, &rai_src); } else { - ai_hints.ai_flags |= RAI_PASSIVE; + ai_hints.ai_flags |= AI_PASSIVE; ret = getaddrinfo(src_addr, port, &ai_hints, &ai_src); } if (ret) {
even though both have same value Signed-off-by: Hal Rosenstock <hal@mellanox.com> --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html