summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 8056236de9..57350ea89f 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2990,7 +2990,9 @@ static int vty_config_write(struct vty *vty)
}
struct cmd_node vty_node = {
- VTY_NODE, "%s(config-line)# ", 1,
+ .node = VTY_NODE,
+ .prompt = "%s(config-line)# ",
+ .vtysh = 1,
};
/* Reset all VTY status. */