Skip to contentSkip to conversation

rstream.c: Indicate when specified address family is unknown

PATCH In review Hal Rosenstock 2 participants 2 messages Sep 11, 2013 – Sep 20, 2013 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rstream.c: Indicate when specified address family is unknown

---

examples/rstream.c +2 -0
index 278437f..cf84716 100644
@@ -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':

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html