summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-01-27 11:06:51 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-01-27 11:08:27 +0100
commit879acef39465bb978f9a3bcb349594b818aec442 (patch)
tree45773e72795d303ed241073942122488afa257a7
parent19d00517af53261523b35e14b14de7b87ea8d669 (diff)
vty: Fix typo in the state creation
This got introduced in 2d6ad13d8daf860595e6d4025861e122ce574871 and I thought that our vty tests would have caught such mistakes.
-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 bb19a31d..40daba10 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -659,7 +659,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 cateyory %d%s",
+ vty_out(vty, " logging print category %d%s",
tgt->print_ext_timestamp ? 1 : 0, VTY_NEWLINE);
if (tgt->print_ext_timestamp)
vty_out(vty, " logging print extended-timestamp 1%s", VTY_NEWLINE);