Merge pull request #15785 from FRRouting/mergify/bp/stable/10.0/pr-15770

lib, zebra: fix exit commands (backport #15770)
This commit is contained in:
Donatas Abraitis 2024-04-18 22:11:47 +03:00 committed by GitHub
commit 0c8c1e2fdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1356,7 +1356,7 @@ DEFUN (disable,
} }
/* Down vty node level. */ /* Down vty node level. */
DEFUN (config_exit, DEFUN_YANG (config_exit,
config_exit_cmd, config_exit_cmd,
"exit", "exit",
"Exit current mode and down to previous mode\n") "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 */ /* vrf CLI commands */
DEFUN_NOSH(vrf_exit, DEFUN_YANG_NOSH (vrf_exit,
vrf_exit_cmd, vrf_exit_cmd,
"exit-vrf", "exit-vrf",
"Exit current mode and down to previous mode\n") "Exit current mode and down to previous mode\n")

View File

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