diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-12-27 14:36:28 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-12-27 14:48:03 +0100 |
commit | 1601a46f223be317dad9f765c6a7086444fdf898 (patch) | |
tree | 2ce800cbeda45e58231d7376022f61bcc0f3fe55 /bgpd/bgp_vty.c | |
parent | Merge pull request #5579 from donaldsharp/pim_ip_mroute_last (diff) | |
download | frr-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.c | 5 |
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") |