summaryrefslogtreecommitdiffstats
path: root/ldpd/ldp_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/ldp_debug.c')
-rw-r--r--ldpd/ldp_debug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ldpd/ldp_debug.c b/ldpd/ldp_debug.c
index 77ec8c699..59d8676ec 100644
--- a/ldpd/ldp_debug.c
+++ b/ldpd/ldp_debug.c
@@ -29,10 +29,13 @@
struct ldp_debug conf_ldp_debug;
struct ldp_debug ldp_debug;
+static int ldp_debug_config_write(struct vty *);
+
/* Debug node. */
struct cmd_node ldp_debug_node = {
.node = DEBUG_NODE,
.prompt = "",
+ .config_write = ldp_debug_config_write,
};
int
@@ -140,7 +143,7 @@ ldp_vty_show_debugging(struct vty *vty)
return (CMD_SUCCESS);
}
-int
+static int
ldp_debug_config_write(struct vty *vty)
{
int write = 0;