summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'nhrpd/nhrp_vty.c')
-rw-r--r--nhrpd/nhrp_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nhrpd/nhrp_vty.c b/nhrpd/nhrp_vty.c
index f9ed1e96c..bf29d0218 100644
--- a/nhrpd/nhrp_vty.c
+++ b/nhrpd/nhrp_vty.c
@@ -20,6 +20,7 @@
static int nhrp_config_write(struct vty *vty);
static struct cmd_node zebra_node = {
.node = ZEBRA_NODE,
+ .parent_node = CONFIG_NODE,
.prompt = "%s(config-router)# ",
.config_write = nhrp_config_write,
};
@@ -27,6 +28,7 @@ static struct cmd_node zebra_node = {
static int interface_config_write(struct vty *vty);
static struct cmd_node nhrp_interface_node = {
.node = INTERFACE_NODE,
+ .parent_node = CONFIG_NODE,
.prompt = "%s(config-if)# ",
.config_write = interface_config_write,
};