}
/* Debug node. */
-static struct cmd_node debug_node = {DEBUG_NODE, "", 1};
+static struct cmd_node debug_node = {
+ .node = DEBUG_NODE,
+ .prompt = "",
+ .vtysh = 1,
+};
static int config_write_debug(struct vty *vty)
{
}
#endif /* ifdef FABRICD */
-struct cmd_node router_node = {ROUTER_NODE, "%s(config-router)# ", 1};
+struct cmd_node router_node = {
+ .node = ROUTER_NODE,
+ .prompt = "%s(config-router)# ",
+ .vtysh = 1,
+};
void isis_init(void)
{