From: Quentin Young Date: Tue, 22 Nov 2016 22:43:39 +0000 (+0000) Subject: bgpd: Fix ambiguous commands for `...attribute-unchanged...` X-Git-Tag: frr-3.0-branchpoint~129^2~15 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ddbaf941d9618125eb9d1a778c1f704c84109abf;p=mirror%2Ffrr.git bgpd: Fix ambiguous commands for `...attribute-unchanged...` Signed-off-by: Quentin Young --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index e7ed9e1911..77cf410a0f 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -3966,9 +3966,9 @@ DEFUN (neighbor_attr_unchanged, neighbor_attr_unchanged_cmd, "neighbor 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 []\ >]", 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 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 []\ >]", 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") {