]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Fix ambiguous commands for `...attribute-unchanged...`
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 22 Nov 2016 22:43:39 +0000 (22:43 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 22 Nov 2016 22:43:39 +0000 (22:43 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_vty.c

index e7ed9e19118ad768e9655878556672aa1f0cbe79..77cf410a0fce49bcaecd733afda734e04ba0f43b 100644 (file)
@@ -3966,9 +3966,9 @@ DEFUN (neighbor_attr_unchanged,
        neighbor_attr_unchanged_cmd,
        "neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged\
        [<\
-          as-path [next-hop [med]]|as-path [med [next-hop]]|\
-          next-hop [as-path [med]]|next-hop [med [as-path]]|\
-          med [as-path [nexthop]]|med [next-hop [as-path]]\
+          as-path [<next-hop [med]|med [next-hop]>]|\
+          next-hop [<as-path [med]|med [as-path]>]|\
+          med [<as-path [next-hop]|next-hop [as-path]>]\
        >]",
        NEIGHBOR_STR
        NEIGHBOR_ADDR_STR2
@@ -3976,19 +3976,16 @@ DEFUN (neighbor_attr_unchanged,
        "As-path attribute\n"
        "Nexthop attribute\n"
        "Med attribute\n"
-       "As-path attribute\n"
        "Med attribute\n"
        "Nexthop attribute\n"
        "Nexthop attribute\n"
        "As-path attribute\n"
        "Med attribute\n"
-       "Nexthop attribute\n"
        "Med attribute\n"
        "As-path attribute\n"
        "Med attribute\n"
        "As-path attribute\n"
        "Nexthop attribute\n"
-       "Med attribute\n"
        "Nexthop attribute\n"
        "As-path attribute\n")
 {
@@ -4019,9 +4016,9 @@ DEFUN (no_neighbor_attr_unchanged,
        no_neighbor_attr_unchanged_cmd,
        "no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged\
        [<\
-          as-path [next-hop [med]]|as-path [med [next-hop]]|\
-          next-hop [as-path [med]]|next-hop [med [as-path]]|\
-          med [as-path [nexthop]]|med [next-hop [as-path]]\
+          as-path [<next-hop [med]|med [next-hop]>]|\
+          next-hop [<as-path [med]|med [as-path]>]|\
+          med [<as-path [next-hop]|next-hop [as-path]>]\
        >]",
        NO_STR
        NEIGHBOR_STR
@@ -4030,19 +4027,16 @@ DEFUN (no_neighbor_attr_unchanged,
        "As-path attribute\n"
        "Nexthop attribute\n"
        "Med attribute\n"
-       "As-path attribute\n"
        "Med attribute\n"
        "Nexthop attribute\n"
        "Nexthop attribute\n"
        "As-path attribute\n"
        "Med attribute\n"
-       "Nexthop attribute\n"
        "Med attribute\n"
        "As-path attribute\n"
        "Med attribute\n"
        "As-path attribute\n"
        "Nexthop attribute\n"
-       "Med attribute\n"
        "Nexthop attribute\n"
        "As-path attribute\n")
 {