summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-10-14 08:08:35 -0400
committerGitHub <noreply@github.com>2019-10-14 08:08:35 -0400
commitf68e3f5abfe30d19fa33b11ad803e27d74f0ae80 (patch)
tree13e9becb6792ad98fd5e57ff85a70345592ea061 /lib/command.c
parentd563896dada99f3474d428f928786cbfde936fee (diff)
parent0de19c0e0a8e4f8de4f3e27220f53fae33a6f817 (diff)
Merge pull request #5142 from opensourcerouting/northbound-perf
Northbound optimizations
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index 04f2bd95a0..32e877280d 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1709,6 +1709,8 @@ static int vty_write_config(struct vty *vty)
if (host.noconfig)
return CMD_SUCCESS;
+ nb_cli_show_config_prepare(running_config, false);
+
if (vty->type == VTY_TERM) {
vty_out(vty, "\nCurrent configuration:\n");
vty_out(vty, "!\n");