diff mbox

[librdmacm] rstream.c: Indicate when specified address family is unknown

Message ID 5230BA10.30509@dev.mellanox.co.il (mailing list archive)
State Rejected
Headers show

Commit Message

Hal Rosenstock Sept. 11, 2013, 6:44 p.m. UTC
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

Comments

Hefty, Sean Sept. 20, 2013, 11:33 p.m. UTC | #1
applied - thanks!
--
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
diff mbox

Patch

diff --git a/examples/rstream.c b/examples/rstream.c
index 278437f..cf84716 100644
--- a/examples/rstream.c
+++ b/examples/rstream.c
@@ -586,6 +586,8 @@  int main(int argc, char **argv)
 				rai_hints.ai_flags = RAI_NUMERICHOST | RAI_FAMILY;
 				rai_hints.ai_family = AF_IB;
 				use_rgai = 1;
+			} else {
+				fprintf(stderr, "Warning: unknown address format\n");
 			}
 			break;
 		case 'B':