diff options
author | Michael McTernan <Michael.McTernan.2001@cs.bris.ac.uk> | 2015-03-20 15:29:25 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-20 15:31:30 +0100 |
commit | 789334640f2c34e58b9f3a8c19c57ac15bd2ed38 (patch) | |
tree | cc4ecd9cd4f8b5145e3d21e569b84788e89cfaf0 /src | |
parent | 267fd86e7da57719577c50039129654bd396c651 (diff) |
vty: Fix writing the logging of category
Fix copy and paste issue introduced by Holger in
2d6ad13d8daf860595e6d4025861e122ce574871.
Diffstat (limited to 'src')
-rw-r--r-- | src/vty/logging_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c index 40daba10..a23c1a74 100644 --- a/src/vty/logging_vty.c +++ b/src/vty/logging_vty.c @@ -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 |