Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2017 04:55:31 +0000 (UTC)
From:      Bryan Venteicher <bryanv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326654 - head/sbin/ifconfig
Message-ID:  <201712070455.vB74tVMe012163@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bryanv
Date: Thu Dec  7 04:55:31 2017
New Revision: 326654
URL: https://svnweb.freebsd.org/changeset/base/326654

Log:
  Use consistent name for the vxlan VNI parameter name and provide shorthand
  
  Submitted by:	hrs
  MFC after:	1 month
  Differential Revision:	https://reviews.freebsd.org/D2868

Modified:
  head/sbin/ifconfig/ifvxlan.c

Modified: head/sbin/ifconfig/ifvxlan.c
==============================================================================
--- head/sbin/ifconfig/ifvxlan.c	Thu Dec  7 03:57:11 2017	(r326653)
+++ head/sbin/ifconfig/ifvxlan.c	Thu Dec  7 04:55:31 2017	(r326654)
@@ -594,6 +594,7 @@ setvxlan_flush(const char *val, int d, int s, const st
 
 static struct cmd vxlan_cmds[] = {
 
+	DEF_CLONE_CMD_ARG("vni",                setvxlan_vni),
 	DEF_CLONE_CMD_ARG("vxlanid",		setvxlan_vni),
 	DEF_CLONE_CMD_ARG("vxlanlocal",		setvxlan_local),
 	DEF_CLONE_CMD_ARG("vxlanremote",	setvxlan_remote),
@@ -608,7 +609,8 @@ static struct cmd vxlan_cmds[] = {
 	DEF_CLONE_CMD("vxlanlearn", 1,		setvxlan_learn),
 	DEF_CLONE_CMD("-vxlanlearn", 0,		setvxlan_learn),
 
-	DEF_CMD_ARG("vxlanvni",			setvxlan_vni),
+	DEF_CMD_ARG("vni",			setvxlan_vni),
+	DEF_CMD_ARG("vxlanid",			setvxlan_vni),
 	DEF_CMD_ARG("vxlanlocal",		setvxlan_local),
 	DEF_CMD_ARG("vxlanremote",		setvxlan_remote),
 	DEF_CMD_ARG("vxlangroup",		setvxlan_group),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712070455.vB74tVMe012163>