diff options
Diffstat (limited to 'isisd/isisd.c')
| -rw-r--r-- | isisd/isisd.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c index c61c7f0e0c..b56f889827 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -785,7 +785,11 @@ DEFUN_NOSH (show_debugging, } /* 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) { @@ -2141,7 +2145,11 @@ int isis_config_write(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) { |
