summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
Diffstat (limited to 'zebra')
-rw-r--r--zebra/interface.c2
-rw-r--r--zebra/zebra_fpm.c1
-rw-r--r--zebra/zebra_pw.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 8d119eac7..f4b330d8a 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -1667,6 +1667,7 @@ static void interface_update_stats(void)
static int if_config_write(struct vty *vty);
struct cmd_node interface_node = {
.node = INTERFACE_NODE,
+ .parent_node = CONFIG_NODE,
.prompt = "%s(config-if)# ",
.config_write = if_config_write,
};
@@ -2080,6 +2081,7 @@ DEFUN (no_bandwidth_if,
struct cmd_node link_params_node = {
.node = LINK_PARAMS_NODE,
+ .parent_node = INTERFACE_NODE,
.prompt = "%s(config-link-params)# ",
};
diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c
index beb6fcb2e..462a75b55 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,
};
diff --git a/zebra/zebra_pw.c b/zebra/zebra_pw.c
index 9717805d0..188540128 100644
--- a/zebra/zebra_pw.c
+++ b/zebra/zebra_pw.c
@@ -550,6 +550,7 @@ static int zebra_pw_config(struct vty *vty)
static int zebra_pw_config(struct vty *vty);
static struct cmd_node pw_node = {
.node = PW_NODE,
+ .parent_node = CONFIG_NODE,
.prompt = "%s(config-pw)# ",
.config_write = zebra_pw_config,
};