diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-07-28 04:36:37 +0700 |
---|---|---|
committer | laforge <laforge@gnumonks.org> | 2019-07-30 12:42:47 +0000 |
commit | 5c4b9850c21009f20042b1e3920e602f6f6df30f (patch) | |
tree | 4ba01f20cae6f78b8247620d0e05aac9bd1b54a6 | |
parent | a9a8ea5347749adb8e08ad575926869bce7a771c (diff) |
vty/logging_vty.c: fix writing of 'print category-hex'
Change-Id: I33837f0fac1afe83596fa600916abc05ecb8c356
-rw-r--r-- | src/vty/logging_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c index f3e1419c..9911c6f9 100644 --- a/src/vty/logging_vty.c +++ b/src/vty/logging_vty.c @@ -906,6 +906,8 @@ static int config_write_log_single(struct vty *vty, struct log_target *tgt) vty_out(vty, " logging color %u%s", tgt->use_color ? 1 : 0, VTY_NEWLINE); + vty_out(vty, " logging print category-hex %d%s", + tgt->print_category_hex ? 1 : 0, VTY_NEWLINE); vty_out(vty, " logging print category %d%s", tgt->print_category ? 1 : 0, VTY_NEWLINE); if (tgt->print_ext_timestamp) |