summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index c05d776eb1..99b7c78d6d 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -1194,7 +1194,9 @@ int rip_show_network_config(struct vty *vty, struct rip *rip)
}
static struct cmd_node interface_node = {
- INTERFACE_NODE, "%s(config-if)# ", 1,
+ .node = INTERFACE_NODE,
+ .prompt = "%s(config-if)# ",
+ .vtysh = 1,
};
void rip_interface_sync(struct interface *ifp)