diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-02-19 21:51:07 +0100 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-02-19 21:54:08 +0100 |
commit | 2f95da328470ed346b9c6a223fe65d98eb636132 (patch) | |
tree | 63312463b91c851bb3ffaff3765ea749f9f2d703 /lib/routemap_cli.c | |
parent | Merge pull request #5826 from mjstapp/fix_cli_pfx_doc (diff) | |
download | frr-2f95da328470ed346b9c6a223fe65d98eb636132.tar.xz frr-2f95da328470ed346b9c6a223fe65d98eb636132.zip |
lib: don't allow to recurse inside route-map node
vtysh should handle going back up one level to try the command, there is
no need to be able to recurse inside route-map.
This also fixes a problem with northbound hitting the XPath queue limit
of 8 nodes.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/routemap_cli.c')
-rw-r--r-- | lib/routemap_cli.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c index 702371056..5b03b5266 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -1064,7 +1064,6 @@ void route_map_cli_init(void) install_element(CONFIG_NODE, &no_route_map_all_cmd); /* Install the on-match stuff */ - install_element(RMAP_NODE, &route_map_cmd); install_element(RMAP_NODE, &rmap_onmatch_next_cmd); install_element(RMAP_NODE, &no_rmap_onmatch_next_cmd); install_element(RMAP_NODE, &rmap_onmatch_goto_cmd); |