From 57c8ca208eed1da866792364f078307db98d2f63 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Fri, 14 May 2021 01:38:26 +0300 Subject: [PATCH] Revert "bgpd: fix pending commit check" This reverts commit ea1a5c00df70d7204ccf8716222dc355e2501723. --- bgpd/bgp_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 8ed4c1c88c..91cc9ee380 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -1385,6 +1385,7 @@ DEFUN_YANG_NOSH(router_bgp, NB_OP_MODIFY, "true"); } + nb_cli_pending_commit_check(vty); ret = nb_cli_apply_changes(vty, base_xpath); if (ret == CMD_SUCCESS) { VTY_PUSH_XPATH(BGP_NODE, base_xpath); @@ -1393,7 +1394,6 @@ DEFUN_YANG_NOSH(router_bgp, * For backward compatibility with old commands we still * need to use the qobj infrastructure. */ - nb_cli_pending_commit_check(vty); bgp = bgp_lookup(as, name); if (bgp) VTY_PUSH_CONTEXT(BGP_NODE, bgp); -- 2.39.5