]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/command.h
*: remove second parameter on install_node()
[mirror_frr.git] / lib / command.h
index 06c7ce7b4d52a7817eb14c205706a07988cf82d2..ed7706c3092b205c6bcea5929b802522a87246fa 100644 (file)
@@ -177,7 +177,7 @@ struct cmd_node {
        const char *prompt;
 
        /* Node's configuration write function */
-       int (*func)(struct vty *);
+       int (*config_write)(struct vty *);
 
        /* Node's command graph */
        struct graph *cmdgraph;
@@ -431,7 +431,7 @@ struct cmd_node {
 #define NO_GR_NEIGHBOR_HELPER_CMD "Undo Graceful Restart Helper command for a neighbor\n"
 
 /* Prototypes. */
-extern void install_node(struct cmd_node *node, int (*)(struct vty *));
+extern void install_node(struct cmd_node *node);
 extern void install_default(enum node_type);
 extern void install_element(enum node_type, const struct cmd_element *);