diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-01-25 09:58:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-25 09:58:45 +0200 |
| commit | 147f476fc19f2561ce1e20c41b4a6f6bf19a5e46 (patch) | |
| tree | 9a2cc704c69705b02d344c91d5c9a8a9b73b1121 /lib/log_vty.c | |
| parent | 0f7577deaecdaec7a691e68642db2fbd06c53128 (diff) | |
| parent | 2889d0e7a670f01f5f68390d2a9ec112afba6cae (diff) | |
Merge pull request #15221 from mjstapp/log_immed_config
lib: add log immediate-mode to running config output
Diffstat (limited to 'lib/log_vty.c')
| -rw-r--r-- | lib/log_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/log_vty.c b/lib/log_vty.c index 1ce25196da..323b1b1d55 100644 --- a/lib/log_vty.c +++ b/lib/log_vty.c @@ -902,6 +902,8 @@ void log_config_write(struct vty *vty) vty_out(vty, "no log error-category\n"); if (!zlog_get_prefix_xid()) vty_out(vty, "no log unique-id\n"); + if (zlog_get_immediate_mode()) + vty_out(vty, "log immediate-mode\n"); if (logmsgs_with_persist_bt) { struct xrefdata *xrd; |
