diff options
Diffstat (limited to 'ripd/ripd.c')
| -rw-r--r-- | ripd/ripd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index f092da847d..ecb3fa2d33 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -3328,7 +3328,11 @@ static int config_write_rip(struct vty *vty) } /* RIP node structure. */ -static struct cmd_node rip_node = {RIP_NODE, "%s(config-router)# ", 1}; +static struct cmd_node rip_node = { + .node = RIP_NODE, + .prompt = "%s(config-router)# ", + .vtysh = 1, +}; /* Distribute-list update functions. */ static void rip_distribute_update(struct distribute_ctx *ctx, |
