summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-11-22 23:43:39 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-11-22 23:43:39 +0100
commitddbaf941d9618125eb9d1a778c1f704c84109abf (patch)
tree368e325b5b1e1617c8e336ee16b02b3f2191f83f /bgpd
parentMerge branch 'cmaster-next' into vtysh-grammar (diff)
downloadfrr-ddbaf941d9618125eb9d1a778c1f704c84109abf.tar.xz
frr-ddbaf941d9618125eb9d1a778c1f704c84109abf.zip
bgpd: Fix ambiguous commands for `...attribute-unchanged...`
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_vty.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index e7ed9e191..77cf410a0 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -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")
{