]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/command.h
*: move CLI node names to cmd_node->name
[mirror_frr.git] / lib / command.h
index c1de67e10fd2c471527479f6d9eaa2f635576a9b..6ab8497fe6e9880f00b23feef2df7096a74711b8 100644 (file)
@@ -165,11 +165,12 @@ enum node_type {
 
 extern vector cmdvec;
 extern const struct message tokennames[];
-extern const char *const node_names[];
 
 /* Node which has some commands and prompt string and configuration
    function pointer . */
 struct cmd_node {
+       const char *name;
+
        /* Node index. */
        enum node_type node;
        enum node_type parent_node;