From 5c4b9850c21009f20042b1e3920e602f6f6df30f Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 28 Jul 2019 04:36:37 +0700 Subject: vty/logging_vty.c: fix writing of 'print category-hex' Change-Id: I33837f0fac1afe83596fa600916abc05ecb8c356 --- src/vty/logging_vty.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3