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
This commit is contained in:
parent
b86ceaa3ae
commit
7362d9baf9
@ -594,6 +594,7 @@ setvxlan_flush(const char *val, int d, int s, const struct afswtch *afp)
|
||||
|
||||
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),
|
||||
|
Loading…
Reference in New Issue
Block a user