summaryrefslogtreecommitdiff
path: root/bgpd/rfapi/vnc_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/rfapi/vnc_debug.c')
-rw-r--r--bgpd/rfapi/vnc_debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bgpd/rfapi/vnc_debug.c b/bgpd/rfapi/vnc_debug.c
index 9a2ab9bb56..5839d96f4c 100644
--- a/bgpd/rfapi/vnc_debug.c
+++ b/bgpd/rfapi/vnc_debug.c
@@ -173,14 +173,16 @@ static int bgp_vnc_config_write_debug(struct vty *vty)
return write;
}
+static int bgp_vnc_config_write_debug(struct vty *vty);
static struct cmd_node debug_node = {
.node = DEBUG_VNC_NODE,
.prompt = "",
+ .config_write = bgp_vnc_config_write_debug,
};
void vnc_debug_init(void)
{
- install_node(&debug_node, bgp_vnc_config_write_debug);
+ install_node(&debug_node);
install_element(ENABLE_NODE, &show_debugging_bgp_vnc_cmd);
install_element(ENABLE_NODE, &debug_bgp_vnc_cmd);