From 243895805abcd27cc23f784c0b42036197fa1c3c Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sat, 8 Sep 2018 23:15:09 +0200 Subject: *: move CLI parent data to cmd_node->parent_node Same as before, instead of shoving this into a big central list we can just put the parent node in cmd_node. Signed-off-by: David Lamparter --- ripd/rip_interface.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ripd/rip_interface.c') diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index 87899e468..924eb8334 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -1196,6 +1196,7 @@ int rip_show_network_config(struct vty *vty, struct rip *rip) static int rip_interface_config_write(struct vty *vty); static struct cmd_node interface_node = { .node = INTERFACE_NODE, + .parent_node = CONFIG_NODE, .prompt = "%s(config-if)# ", .config_write = rip_interface_config_write, }; -- cgit v1.2.3