]> git.proxmox.com Git - mirror_frr.git/commitdiff
eigrpd: disambiguate bandwidth command
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 17 May 2017 18:37:24 +0000 (18:37 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 17 May 2017 18:37:24 +0000 (18:37 +0000)
eigrpd defines a bandwidth command that takes kilobits instead of
megabits which is problematic when installed in the same node as the
megabits command since (1-100000) and (1-10000000) are ambiguous

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
eigrpd/eigrp_vty.c

index 5694ca49f9d06c02ffc62f722e071fe065739252..c6ff7b5a80dc8802d2a03009832ee38f60e9ca9d 100644 (file)
@@ -646,7 +646,8 @@ DEFUN (no_eigrp_if_delay,
 
 DEFUN (eigrp_if_bandwidth,
        eigrp_if_bandwidth_cmd,
-       "bandwidth (1-10000000)",
+       "eigrp bandwidth (1-10000000)",
+       "EIGRP specific commands\n"
        "Set bandwidth informational parameter\n"
        "Bandwidth in kilobits\n")
 {
@@ -671,8 +672,9 @@ DEFUN (eigrp_if_bandwidth,
 
 DEFUN (no_eigrp_if_bandwidth,
        no_eigrp_if_bandwidth_cmd,
-       "no bandwidth [(1-10000000)]",
+       "no eigrp bandwidth [(1-10000000)]",
        NO_STR
+       "EIGRP specific commands\n"
        "Set bandwidth informational parameter\n"
        "Bandwidth in kilobits\n")
 {