summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2019-12-27 14:36:28 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2019-12-27 14:48:03 +0100
commit1601a46f223be317dad9f765c6a7086444fdf898 (patch)
tree2ce800cbeda45e58231d7376022f61bcc0f3fe55 /bgpd/bgp_vty.c
parentMerge pull request #5579 from donaldsharp/pim_ip_mroute_last (diff)
downloadfrr-1601a46f223be317dad9f765c6a7086444fdf898.tar.xz
frr-1601a46f223be317dad9f765c6a7086444fdf898.zip
bgpd: Change description for `[no] bgp listen limit` commands
It's quite confusing when you see this: ``` exit1-debian-9(config-router)# bgp listen listen Configure BGP defaults ``` And: ``` exit1-debian-9(config-router)# no bgp listen listen unset maximum number of BGP Dynamic Neighbors that can be created ``` Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to '')
-rw-r--r--bgpd/bgp_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index fd1c1ffd7..4bc150f1e 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -2691,7 +2691,7 @@ DEFUN (bgp_listen_limit,
bgp_listen_limit_cmd,
"bgp listen limit (1-5000)",
"BGP specific commands\n"
- "Configure BGP defaults\n"
+ "BGP Dynamic Neighbors listen commands\n"
"maximum number of BGP Dynamic Neighbors that can be created\n"
"Configure Dynamic Neighbors listen limit value\n")
{
@@ -2709,8 +2709,9 @@ DEFUN (bgp_listen_limit,
DEFUN (no_bgp_listen_limit,
no_bgp_listen_limit_cmd,
"no bgp listen limit [(1-5000)]",
+ NO_STR
"BGP specific commands\n"
- "Configure BGP defaults\n"
+ "BGP Dynamic Neighbors listen commands\n"
"unset maximum number of BGP Dynamic Neighbors that can be created\n"
"Configure Dynamic Neighbors listen limit value to default\n"
"Configure Dynamic Neighbors listen limit value\n")