summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.h b/lib/command.h
index 06c7ce7b4d..ed7706c309 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -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 *);