summaryrefslogtreecommitdiff
path: root/zebra/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/debug.c')
-rw-r--r--zebra/debug.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/zebra/debug.c b/zebra/debug.c
index 68f6b69305..6e177f8398 100644
--- a/zebra/debug.c
+++ b/zebra/debug.c
@@ -471,8 +471,11 @@ DEFPY (debug_zebra_nexthop,
}
/* Debug node. */
-struct cmd_node debug_node = {DEBUG_NODE, "", /* Debug node has no interface. */
- 1};
+struct cmd_node debug_node = {
+ .node = DEBUG_NODE,
+ .prompt = "",
+ .vtysh = 1,
+};
static int config_write_debug(struct vty *vty)
{