summaryrefslogtreecommitdiff
path: root/lib/routemap_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/routemap_cli.c')
-rw-r--r--lib/routemap_cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c
index f92c169050..014147c3f8 100644
--- a/lib/routemap_cli.c
+++ b/lib/routemap_cli.c
@@ -70,6 +70,7 @@ DEFPY_YANG_NOSH(
VTY_PUSH_XPATH(RMAP_NODE, xpath_index);
/* Add support for non-migrated route map users. */
+ nb_cli_pending_commit_check(vty);
rm = route_map_get(name);
action_type = (action[0] == 'p') ? RMAP_PERMIT : RMAP_DENY;
rmi = route_map_index_get(rm, action_type, sequence);