aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael McTernan <Michael.McTernan.2001@cs.bris.ac.uk>2015-03-20 15:29:25 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-03-20 15:31:30 +0100
commit789334640f2c34e58b9f3a8c19c57ac15bd2ed38 (patch)
treecc4ecd9cd4f8b5145e3d21e569b84788e89cfaf0 /src
parent267fd86e7da57719577c50039129654bd396c651 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 40daba1..a23c1a7 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