diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-10-14 08:08:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-14 08:08:35 -0400 |
| commit | f68e3f5abfe30d19fa33b11ad803e27d74f0ae80 (patch) | |
| tree | 13e9becb6792ad98fd5e57ff85a70345592ea061 /lib/command.c | |
| parent | d563896dada99f3474d428f928786cbfde936fee (diff) | |
| parent | 0de19c0e0a8e4f8de4f3e27220f53fae33a6f817 (diff) | |
Merge pull request #5142 from opensourcerouting/northbound-perf
Northbound optimizations
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 2 |
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"); |
