ospfd: fix 'no maximum-paths' command

Signed-off-by: Bing Shui <652023330037@smail.nju.edu.cn>
This commit is contained in:
Bing Shui 2024-04-17 08:41:45 +00:00
parent 5ef6a2bb54
commit d249a7c9f5

View File

@ -2654,9 +2654,10 @@ DEFUN (ospf_max_multipath,
DEFUN (no_ospf_max_multipath,
no_ospf_max_multipath_cmd,
"no maximum-paths",
"no maximum-paths [" CMD_RANGE_STR(1, MULTIPATH_NUM)"]",
NO_STR
"Max no of multiple paths for ECMP support\n")
"Max no of multiple paths for ECMP support\n"
"Number of paths\n")
{
VTY_DECLVAR_INSTANCE_CONTEXT(ospf, ospf);
uint16_t maxpaths = MULTIPATH_NUM;