Skip to content

Commit

Permalink
Merge pull request #15775 from Shbinging/fix_ospf_vtysh_commands
Browse files Browse the repository at this point in the history
ospfd: fix 'no maximum-paths' 'no write-multiplier'  commands
  • Loading branch information
ton31337 authored Apr 17, 2024
2 parents e145b0c + 913567c commit b2263bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ospfd/ospf_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -2580,7 +2580,7 @@ DEFUN (no_ospf_write_multiplier,
}

ALIAS(no_ospf_write_multiplier, no_write_multiplier_cmd,
"no write-multiplier (1-100)", NO_STR
"no write-multiplier [(1-100)]", NO_STR
"Write multiplier\n"
"Maximum number of interface serviced per write\n")

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b2263bc

Please sign in to comment.