vty: Fix writing the logging of category

Fix copy and paste issue introduced by Holger in
2d6ad13d8d.
This commit is contained in:
Michael McTernan 2015-03-20 15:29:25 +01:00 committed by Holger Hans Peter Freyther
parent 267fd86e7d
commit 789334640f
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ 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 %d%s",
tgt->print_ext_timestamp ? 1 : 0, VTY_NEWLINE);
tgt->print_category ? 1 : 0, VTY_NEWLINE);
if (tgt->print_ext_timestamp)
vty_out(vty, " logging print extended-timestamp 1%s", VTY_NEWLINE);
else