mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 19:11:44 +00:00
Merge pull request #15775 from Shbinging/fix_ospf_vtysh_commands
ospfd: fix 'no maximum-paths' 'no write-multiplier' commands
This commit is contained in:
commit
b2263bcff6
@ -2580,7 +2580,7 @@ DEFUN (no_ospf_write_multiplier,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ALIAS(no_ospf_write_multiplier, no_write_multiplier_cmd,
|
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"
|
"Write multiplier\n"
|
||||||
"Maximum number of interface serviced per write\n")
|
"Maximum number of interface serviced per write\n")
|
||||||
|
|
||||||
@ -2654,9 +2654,10 @@ DEFUN (ospf_max_multipath,
|
|||||||
|
|
||||||
DEFUN (no_ospf_max_multipath,
|
DEFUN (no_ospf_max_multipath,
|
||||||
no_ospf_max_multipath_cmd,
|
no_ospf_max_multipath_cmd,
|
||||||
"no maximum-paths",
|
"no maximum-paths [" CMD_RANGE_STR(1, MULTIPATH_NUM)"]",
|
||||||
NO_STR
|
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);
|
VTY_DECLVAR_INSTANCE_CONTEXT(ospf, ospf);
|
||||||
uint16_t maxpaths = MULTIPATH_NUM;
|
uint16_t maxpaths = MULTIPATH_NUM;
|
||||||
|
Loading…
Reference in New Issue
Block a user