summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/command.c2
-rw-r--r--lib/vrf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index 0288ab7599..51f2529e3e 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1374,7 +1374,7 @@ DEFUN (disable,
}
/* Down vty node level. */
-DEFUN (config_exit,
+DEFUN_YANG (config_exit,
config_exit_cmd,
"exit",
"Exit current mode and down to previous mode\n")
diff --git a/lib/vrf.c b/lib/vrf.c
index e907626bae..31632a80d5 100644
--- a/lib/vrf.c
+++ b/lib/vrf.c
@@ -636,7 +636,7 @@ int vrf_configure_backend(enum vrf_backend_type backend)
}
/* vrf CLI commands */
-DEFUN_NOSH(vrf_exit,
+DEFUN_YANG_NOSH (vrf_exit,
vrf_exit_cmd,
"exit-vrf",
"Exit current mode and down to previous mode\n")