mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 05:53:36 +01:00
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
0d119bab38
commit
f53d97231b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326654
@ -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