summaryrefslogtreecommitdiff
path: root/zebra/zebra_pw.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_pw.c')
-rw-r--r--zebra/zebra_pw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/zebra_pw.c b/zebra/zebra_pw.c
index 610a052c31..d16082c515 100644
--- a/zebra/zebra_pw.c
+++ b/zebra/zebra_pw.c
@@ -548,7 +548,9 @@ static int zebra_pw_config(struct vty *vty)
}
static struct cmd_node pw_node = {
- PW_NODE, "%s(config-pw)# ", 1,
+ .node = PW_NODE,
+ .prompt = "%s(config-pw)# ",
+ .vtysh = 1,
};
void zebra_pw_vty_init(void)