vty/logging_vty.c: fix writing of 'print category-hex'

Change-Id: I33837f0fac1afe83596fa600916abc05ecb8c356
This commit is contained in:
Vadim Yanitskiy 2019-07-28 04:36:37 +07:00 committed by laforge
parent a9a8ea5347
commit 5c4b9850c2
1 changed files with 2 additions and 0 deletions

View File

@ -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)