From bc03c622e103bfca751e45df6060d7673ada6e8e Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Mon, 25 Oct 2021 13:23:38 +0200 Subject: [PATCH] bgpd: allow no neighbor X.X.X.X maximum-prefix-out [(1-4294967295)] Specifying a number is not possible with command no neighbor X.X.X.X maximum-prefix-out > frr(config-router-af)# no neighbor 192.168.1.2 maximum-prefix-out 1 > % Unknown command: no neighbor 192.168.1.2 maximum-prefix-out 1 This patch allows it. Signed-off-by: Louis Scalbert --- bgpd/bgp_vty.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 509943c8c6..0ffccf7bf8 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -7688,11 +7688,12 @@ DEFUN(neighbor_maximum_prefix_out, DEFUN(no_neighbor_maximum_prefix_out, no_neighbor_maximum_prefix_out_cmd, - "no neighbor maximum-prefix-out", + "no neighbor maximum-prefix-out [(1-4294967295)]", NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2 - "Maximum number of prefixes to be sent to this peer\n") + "Maximum number of prefixes to be sent to this peer\n" + "Maximum no. of prefix limit\n") { int idx_peer = 2; struct peer *peer;