]> git.sur5r.net Git - ngadmin/blobdiff - cli/com_list.c
Added support for changing VLAN 802.1q and PVID configuration.
[ngadmin] / cli / com_list.c
index 3c8eb8c976a9cba2bb403b7e38fa71179bd0d1ad..9630f76d05392ddbb9886f0121bcc3b24889a37e 100644 (file)
@@ -1,10 +1,9 @@
 
-#include "common.h"
+#include "commands.h"
 
 
 
-
-static bool do_list (const struct TreeNode *tn UNUSED, int nb UNUSED, const char **com UNUSED, struct ngadmin *nga) {
+bool do_list (int nb UNUSED, const char **com UNUSED, struct ngadmin *nga) {
  
  int n;
  const struct swi_attr *sa;
@@ -19,8 +18,3 @@ static bool do_list (const struct TreeNode *tn UNUSED, int nb UNUSED, const char
 }
 
 
-
-const struct TreeNode com_list=COM("list", do_list, false, NULL);
-
-
-