summaryrefslogtreecommitdiffstats
path: root/src/hci/commands/vlan_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci/commands/vlan_cmd.c')
-rw-r--r--src/hci/commands/vlan_cmd.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/hci/commands/vlan_cmd.c b/src/hci/commands/vlan_cmd.c
index 8a2f0c749..69aef9f3c 100644
--- a/src/hci/commands/vlan_cmd.c
+++ b/src/hci/commands/vlan_cmd.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdio.h>
#include <stdlib.h>
@@ -131,13 +132,5 @@ static int vdestroy_exec ( int argc, char **argv ) {
}
/** VLAN commands */
-struct command vlan_commands[] __command = {
- {
- .name = "vcreate",
- .exec = vcreate_exec,
- },
- {
- .name = "vdestroy",
- .exec = vdestroy_exec,
- },
-};
+COMMAND ( vcreate, vcreate_exec );
+COMMAND ( vdestroy, vdestroy_exec );