summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index f2f4ebf92..a20015bbc 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -2282,14 +2282,16 @@ static int bgp_config_write_debug(struct vty *vty)
return write;
}
+static int bgp_config_write_debug(struct vty *vty);
static struct cmd_node debug_node = {
.node = DEBUG_NODE,
.prompt = "",
+ .config_write = bgp_config_write_debug,
};
void bgp_debug_init(void)
{
- install_node(&debug_node, bgp_config_write_debug);
+ install_node(&debug_node);
install_element(ENABLE_NODE, &show_debugging_bgp_cmd);