summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-07-28 04:36:37 +0700
committerlaforge <laforge@gnumonks.org>2019-07-30 12:42:47 +0000
commit5c4b9850c21009f20042b1e3920e602f6f6df30f (patch)
tree4ba01f20cae6f78b8247620d0e05aac9bd1b54a6 /src
parenta9a8ea5347749adb8e08ad575926869bce7a771c (diff)
vty/logging_vty.c: fix writing of 'print category-hex'
Change-Id: I33837f0fac1afe83596fa600916abc05ecb8c356
Diffstat (limited to 'src')
-rw-r--r--src/vty/logging_vty.c2
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)