summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-06-13 11:18:36 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-06-13 20:00:51 +0200
commit70dd370f5ae5a1cfccabb6bfe0d563d6312bc0ed (patch)
tree65fccd2d2e1253e9c31027ca7b2bdaa326aa79d3 /ripd
parentMerge pull request #11333 from opensourcerouting/fix/memory_leak_with_rmaps (diff)
downloadfrr-70dd370f5ae5a1cfccabb6bfe0d563d6312bc0ed.tar.xz
frr-70dd370f5ae5a1cfccabb6bfe0d563d6312bc0ed.zip
*: Use autocomplete for route-maps under commands that require it
For example: ``` donatas-laptop# show bgp ipv4 unicast neighbors 127.0.0.2 advertised-routes route-map ? RMAP_NAME Name of the route map testas2 testas donatas-laptop(config)# router bgp donatas-laptop(config-router)# address-family ipv4 donatas-laptop(config-router-af)# redistribute connected route-map ? RMAP_NAME Pointer to route-map entries testas2 testas donatas-laptop(config-router-af)# network 192.168.0.0/23 route-map ? RMAP_NAME Name of the route map testas2 testas ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_cli.c b/ripd/rip_cli.c
index 58c28e54c..73442bf16 100644
--- a/ripd/rip_cli.c
+++ b/ripd/rip_cli.c
@@ -439,7 +439,7 @@ void cli_show_rip_non_passive_interface(struct vty *vty,
*/
DEFPY_YANG (rip_redistribute,
rip_redistribute_cmd,
- "[no] redistribute " FRR_REDIST_STR_RIPD "$protocol [{metric (0-16)|route-map WORD}]",
+ "[no] redistribute " FRR_REDIST_STR_RIPD "$protocol [{metric (0-16)|route-map RMAP_NAME$route_map}]",
NO_STR
REDIST_STR
FRR_REDIST_HELP_STR_RIPD