]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: fix 'no maximum-paths' command
authorBing Shui <652023330037@smail.nju.edu.cn>
Wed, 17 Apr 2024 08:41:45 +0000 (08:41 +0000)
committerBing Shui <652023330037@smail.nju.edu.cn>
Wed, 17 Apr 2024 10:39:02 +0000 (10:39 +0000)
Signed-off-by: Bing Shui <652023330037@smail.nju.edu.cn>
ospfd/ospf_vty.c

index b366b3ca3084eb845f2a3162e77ca853cd3b660b..abf9a346cb266c2d2c23deb105f741013b0566f0 100644 (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;