add duplicate cmd entries for vlan and vlandev that are marked !clone
so they can be used when not doing a create operation Reviewed by: ed
This commit is contained in:
parent
0cf07094ca
commit
24994b364c
@ -174,6 +174,9 @@ DECL_CMD_FUNC(unsetvlandev, val, d)
|
||||
static struct cmd vlan_cmds[] = {
|
||||
DEF_CLONE_CMD_ARG("vlan", setvlantag),
|
||||
DEF_CLONE_CMD_ARG("vlandev", setvlandev),
|
||||
/* NB: non-clone cmds */
|
||||
DEF_CMD_ARG("vlan", setvlantag),
|
||||
DEF_CMD_ARG("vlandev", setvlandev),
|
||||
/* XXX For compatibility. Should become DEF_CMD() some day. */
|
||||
DEF_CMD_OPTARG("-vlandev", unsetvlandev),
|
||||
DEF_CMD("vlanmtu", IFCAP_VLAN_MTU, setifcap),
|
||||
|
Loading…
x
Reference in New Issue
Block a user