summaryrefslogtreecommitdiff
path: root/zebra/zebra_fpm.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-09-08 23:15:09 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-16 12:53:00 +0200
commit243895805abcd27cc23f784c0b42036197fa1c3c (patch)
treeb1cbf49040a4a5ce981ef84541cd8ad30384d4d4 /zebra/zebra_fpm.c
parent612c2c15d86e0e5c7e35f1a9a1491f90f365b93c (diff)
*: 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 <equinox@diac24.net>
Diffstat (limited to 'zebra/zebra_fpm.c')
-rw-r--r--zebra/zebra_fpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c
index beb6fcb2eb..462a75b551 100644
--- a/zebra/zebra_fpm.c
+++ b/zebra/zebra_fpm.c
@@ -1942,6 +1942,7 @@ static int fpm_remote_srv_write(struct vty *vty);
/* Zebra node */
static struct cmd_node zebra_node = {
.node = ZEBRA_NODE,
+ .parent_node = CONFIG_NODE,
.prompt = "",
.config_write = fpm_remote_srv_write,
};