From mboxrd@z Thu Jan 1 00:00:00 1970 From: Atzm Watanabe Subject: [PATCH iproute2] vxlan: Allow setting unicast address to the group address Date: Wed, 10 Apr 2013 17:52:05 +0900 Message-ID: <87sj2yn4y2.wl%atzm@stratosphere.co.jp> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: Stephen Hemminger To: netdev@vger.kernel.org Return-path: Received: from mail-pb0-f51.google.com ([209.85.160.51]:61110 "EHLO mail-pb0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936532Ab3DJIwX (ORCPT ); Wed, 10 Apr 2013 04:52:23 -0400 Received: by mail-pb0-f51.google.com with SMTP id rr4so149476pbb.24 for ; Wed, 10 Apr 2013 01:52:22 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: This patch allows setting unicast address to the VXLAN group address. It allows that VXLAN can be used as peer-to-peer tunnel without multicast. Signed-off-by: Atzm Watanabe --- ip/iplink_vxlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ip/iplink_vxlan.c b/ip/iplink_vxlan.c index 1025326..cfe324c 100644 --- a/ip/iplink_vxlan.c +++ b/ip/iplink_vxlan.c @@ -66,9 +66,6 @@ static int vxlan_parse_opt(struct link_util *lu, int argc, char **argv, } else if (!matches(*argv, "group")) { NEXT_ARG(); gaddr = get_addr32(*argv); - - if (!IN_MULTICAST(ntohl(gaddr))) - invarg("invald group address", *argv); } else if (!matches(*argv, "local")) { NEXT_ARG(); if (strcmp(*argv, "any")) -- 1.8.1.5