From patchwork Wed Sep 11 18:44:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2874201 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A74FF9F476 for ; Wed, 11 Sep 2013 18:44:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C6B8B20315 for ; Wed, 11 Sep 2013 18:44:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F1CB820314 for ; Wed, 11 Sep 2013 18:44:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756570Ab3IKSoh (ORCPT ); Wed, 11 Sep 2013 14:44:37 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:61075 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756542Ab3IKSof (ORCPT ); Wed, 11 Sep 2013 14:44:35 -0400 Received: by mail-wg0-f52.google.com with SMTP id m14so8354465wgh.19 for ; Wed, 11 Sep 2013 11:44:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=bfOEzM/fq11Y3csePvBufpVxYRkFOB6GYXtssQUA2hc=; b=mal0SwO+LB+7lgU2JKhYeW8RwNQW+snfMzWH69+kKgkz9cH8nf9GcfFIdS6QvfhKwj 8VDtbZ63KTAovIpEEnCwBx9X+qGIhLQhvhEWzclHqDPnIbgd817Ux097ZDwAnaOiQu4F li9NCnMLRkBAr8Niimb3YJzbaaFvHUHFhOHfrlI6lt24W6B4brZdjrKzJNWkI5ci8xTz +LZu8CISM/Vdm3BRsbm9EJlj7C9aifP/gr/vcWWP0V8J6QySLWATOLOjk2mGO7QUARMD 1fL6Vom2G8AOF5XhHLEARiT4P66k94Y79bZ9rHoIa4a+DkfH/ZXa9sTcSkABuUZjDZzY IssQ== X-Gm-Message-State: ALoCoQlgNV1yrZLBq4DiPomZ6Ya0Q6vU1e7m8xdU86TZuTl898l3Vbe8Tgtt68R6buewaM/0fIf4 X-Received: by 10.181.12.16 with SMTP id em16mr18405021wid.36.1378925074474; Wed, 11 Sep 2013 11:44:34 -0700 (PDT) Received: from [192.168.1.102] (c-98-229-118-119.hsd1.ma.comcast.net. [98.229.118.119]) by mx.google.com with ESMTPSA id i8sm1054169wiy.6.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Sep 2013 11:44:33 -0700 (PDT) Message-ID: <5230BA10.30509@dev.mellanox.co.il> Date: Wed, 11 Sep 2013 14:44:32 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "Hefty, Sean" CC: "linux-rdma (linux-rdma@vger.kernel.org)" Subject: [PATCH librdmacm] rstream.c: Indicate when specified address family is unknown Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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':