summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorBing Shui <652023330037@smail.nju.edu.cn>2024-04-17 08:41:45 +0000
committerBing Shui <652023330037@smail.nju.edu.cn>2024-04-17 10:39:02 +0000
commitd249a7c9f51d7043fbed65f111bbc7c9cc1dc367 (patch)
tree104e29d3929c6b22f48471de0a862b87b66a5bd6 /ospfd
parent5ef6a2bb54eacc35854e9db8dde71c406fb9364c (diff)
ospfd: fix 'no maximum-paths' command
Signed-off-by: Bing Shui <652023330037@smail.nju.edu.cn>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index b366b3ca30..abf9a346cb 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -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;