Merge pull request #15770 from idryzhov/fix-yang-exit

lib, zebra: fix exit commands
This commit is contained in:
Jafar Al-Gharaibeh 2024-04-18 01:33:07 -05:00 committed by GitHub
commit 8e7fb950c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -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")

View file

@ -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")

View file

@ -241,7 +241,7 @@ DEFUN_YANG_NOSH (link_params,
return ret;
}
DEFUN_NOSH (exit_link_params,
DEFUN_YANG_NOSH (exit_link_params,
exit_link_params_cmd,
"exit-link-params",
"Exit from Link Params configuration mode\n")