Merge pull request #5840 from opensourcerouting/route-map-recurse

lib: don't allow to recurse inside route-map node
This commit is contained in:
Donald Sharp 2020-02-19 22:56:25 -05:00 committed by GitHub
commit 4eb08d65e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);